feat: Create backups of configuration when the force option is not used.
This commit is contained in:
6
justfile
6
justfile
@@ -1,4 +1,6 @@
|
||||
docker_image_name := "swift-hpa"
|
||||
install_path := "~/.local/share/bin/hpa"
|
||||
completion_path := "~/.local/share/zsh/completions/_hpa"
|
||||
|
||||
build mode="debug":
|
||||
swift build -c {{mode}}
|
||||
@@ -37,3 +39,7 @@ update-version:
|
||||
--allow-writing-to-package-directory \
|
||||
update-version \
|
||||
hpa
|
||||
|
||||
install: (build "release")
|
||||
@cp .build/release/hpa {{install_path}}
|
||||
@{{install_path}} --generate-completion-script zsh > {{completion_path}}
|
||||
|
||||
Reference in New Issue
Block a user