-
-
Notifications
You must be signed in to change notification settings - Fork 3
Feat/add installation methods #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- [x] Added `go install github.com/charmbracelet/freeze@latest` installation process if the user has [go](https:/go.dev) installed. - [x] Added installation process via `cURL`, getting the release from [freeze releases page](https://github.com/charmbracelet/freeze/releases) and using `tar` if the is *Unix* like **OS** or `Expand-Archive` if is *Windows*.
- [x] Tested `go install`. - [x] Tested `curl` GitHub `freeze` release and `tar` into `install_path`. auto-generate vimdoc
auto-generate vimdoc
fd6ba5d
to
78f04a0
Compare
AlejandroSuero
commented
May 14, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved.
AlejandroSuero
commented
May 14, 2024
@@ -19,7 +19,7 @@ jobs: | |||
- name: Push changes | |||
uses: stefanzweifel/git-auto-commit-action@v4 | |||
with: | |||
commit_message: "auto-generate vimdoc" | |||
commit_message: "docs: auto-generate vimdoc" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Please include a summary of the change and which issue is fixed. Please also
include relevant motivation and context
Fixes #1
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list relevant details about your configuration
make test
Results
ok 1 - [freeze-code test] setup creates user commands ok 2 - [freeze-code test] setup with default config ok 3 - [freeze-code test] setup with custom config [freeze-code] 🍧 frozen frame in path=/Users/aome/dev/nvim_plugins/freeze-code.nvim/freeze.pngok 4 - [freeze-code test] freeze creates an image from a file [freeze-code] 🍧 frozen frame in path=/Users/aome/dev/nvim_plugins/freeze-code.nvim/freeze.pngok 5 - [freeze-code test] freeze creates an image from a range in a file [freeze-code] downloading release from `https://github.com/charmbracelet/freeze/releases/download/v0.1.6/freeze_0.1.6_Darwin_arm64.tar.gz` [freeze-code] extracting release with `tar -zxf freeze.tar.gz -C ./tests/mocks/bin` [freeze-code] `freeze` binary installed in installed in path=./tests/mocks/bin/freeze ok 6 - [freeze-code installation] installs `freeze` using `cURL` [freeze-code tests] DEBUG: removing `freeze` binary from `./tests/mocks/bin` [freeze-code] go install github.com/charmbracelet/freeze@latest completed ok 7 - [freeze-code installation] installs `freeze` using `go install` [freeze-code tests] DEBUG: removing `freeze` binary from `./tests/mocks/go/bin` 1..7 # Success: 7
make test-nvim
Results
Configuration:
nvim --version
): NVIM v0.9.5Checklist