build: add linter options.
This commit is contained in:
parent
24affe46f2
commit
a53f10e431
3 changed files with 17 additions and 6 deletions
|
|
@ -18,11 +18,11 @@ BASE = archlinux debian ubuntu opensuse
|
|||
.PHONY: ${BASE} lint
|
||||
|
||||
$(BASE):
|
||||
make --directory=../ package dist=${@}
|
||||
packer build -force -var version=${VERSION} \
|
||||
@make --directory=../ package dist=${@}
|
||||
@packer build -force -var version=${VERSION} \
|
||||
-var disk_size=${disk} -var flavor="${flavor}" \
|
||||
-only=qemu.${@}-${flavor} packer/
|
||||
|
||||
lint:
|
||||
@packer fmt packer/
|
||||
@packer validate packer/
|
||||
@packer fmt --check packer/
|
||||
@packer validate --syntax-only packer/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue