mirror of
https://github.com/lotabout/skim.git
synced 2026-09-10 07:16:23 -04:00
* wip: windows support * feat: windows support * feat: add windows target to CI * chore: generate completions & manpage * Update src/util.rs Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * chore: cleanup & doc * chore: generate completions & manpage * chore: generate dist * fix: reduplicate default test * chore: regate tmux * chore: remove useless test-utils feature * fix(windows): ignore dirs in default_command * docs: update shell docs for windows * chore: generate completions & manpage * chore(justfile): do not ignore failed tests * fix: upload correct junit after profile change * fix: always execute exit commands * fix: windows-specific ctrl-c handling * chore: misc docs & other updates Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * chore: generate completions & manpage * chore: include license in MSI installer --------- Co-authored-by: Skim bot <skim-bot@skim-rs.github.io> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Your Name <you@example.com>
33 lines
1.1 KiB
Makefile
33 lines
1.1 KiB
Makefile
bump-version version:
|
|
sed -i 's/^version = ".*"/version = "{{ version }}"/' ./Cargo.toml
|
|
|
|
generate-files:
|
|
SKIM_DEFAULT_OPTIONS= cargo run -- --man > ./man/man1/sk.1
|
|
SKIM_DEFAULT_OPTIONS= cargo run -- --shell bash > ./shell/completion.bash
|
|
SKIM_DEFAULT_OPTIONS= cargo run -- --shell zsh > ./shell/completion.zsh
|
|
SKIM_DEFAULT_OPTIONS= cargo run -- --shell fish > ./shell/completion.fish
|
|
SKIM_DEFAULT_OPTIONS= cargo run -- --shell nushell > ./shell/completion.nu
|
|
|
|
changelog version:
|
|
git cliff -p CHANGELOG.md -t 'v{{ version }}' -u
|
|
|
|
release version: (bump-version version) generate-files (changelog version) test
|
|
cargo generate-lockfile
|
|
echo '{{ version }}' > shell/version.txt
|
|
git add CHANGELOG.md Cargo.lock Cargo.toml man/ shell/
|
|
git commit -m 'release: v{{ version }}'
|
|
git tag 'v{{ version }}'
|
|
read -p "Press any key to confirm pushing tag v{{ version }}"
|
|
git push
|
|
git push --tags
|
|
|
|
auto-release:
|
|
git switch master
|
|
git pull
|
|
just release $(git cliff --bumped-version | sed 's/v\(.*\)/\1/')
|
|
|
|
test target="":
|
|
cargo test --doc
|
|
cargo nextest run {{ target }}
|
|
tmux kill-session -t skim_e2e
|