Skip to content

Commit

Permalink
Add Makefile target and retain completion scripts in repo
Browse files Browse the repository at this point in the history
  • Loading branch information
dandavison committed Nov 18, 2023
1 parent cfe947d commit 8884108
Show file tree
Hide file tree
Showing 4 changed files with 625 additions and 163 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ end-to-end-test: build
./tests/test_deprecated_options > /dev/null
./tests/test_navigate_less_history_file

shell-completion:
for shell in bash fish zsh; do ./target/release/delta --generate-completion $$shell > etc/completion/completion.$$shell; done

release:
@make -f release.Makefile release

Expand Down Expand Up @@ -44,4 +47,4 @@ flamegraph: build
chronologer:
chronologer etc/performance/chronologer.yaml

.PHONY: build format lint test unit-test end-to-end-test release version hash benchmark flamegraph chronologer
.PHONY: build format lint test unit-test end-to-end-test release shell-completion version hash benchmark flamegraph chronologer
Loading

0 comments on commit 8884108

Please sign in to comment.