mirror of
https://github.com/linka-cloud/d2vm.git
synced 2025-06-23 22:02:25 +00:00
Makefile: add completions generation
goreleaser: fix typo, add completions to release archive Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
8
Makefile
8
Makefile
@ -101,6 +101,14 @@ build: bin
|
||||
release: bin
|
||||
@VERSION=$(VERSION) IMAGE=$(DOCKER_IMAGE) goreleaser release --rm-dist --parallelism 8
|
||||
|
||||
.PHONY: completions
|
||||
completions: .build
|
||||
@rm -rf completions
|
||||
@mkdir -p completions
|
||||
@for shell in bash zsh fish powershell; do \
|
||||
d2vm completion $$shell > completions/d2vm.$$shell; \
|
||||
done
|
||||
|
||||
.PHONY: examples
|
||||
examples: build-dev
|
||||
@mkdir -p examples/build
|
||||
|
Reference in New Issue
Block a user