Improve completions workflow
This commit is contained in:
parent
031bb45eeb
commit
6c2eeb4c9b
3 changed files with 15 additions and 6 deletions
6
Makefile
6
Makefile
|
@ -14,13 +14,9 @@ generate: get-target output-dir
|
|||
generate-upgrade: get-target output-dir
|
||||
BASHLY_SOURCE_DIR=$(TARGET) bashly generate --upgrade
|
||||
|
||||
completions: generate-upgrade
|
||||
BASHLY_SOURCE_DIR=$(TARGET) bashly add --force completions_script ./output/_$(TARGET)
|
||||
|
||||
docs: generate
|
||||
BASHLY_SOURCE_DIR=$(TARGET) bashly render :mandoc ./output/man1
|
||||
|
||||
deploy: completions docs
|
||||
deploy: generate docs
|
||||
cp -f ./output/$(TARGET) ~/.local/bin/
|
||||
cp -f ./output/_$(TARGET) ~/.config/completionsrc.d/
|
||||
cp -f ./output/man1/$(TARGET)*.1 ~/.local/share/man/man1/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue