mirror of
https://github.com/mikefarah/yq.git
synced 2024-12-19 20:19:04 +00:00
Add snap target to Makefile
This commit is contained in:
parent
e6ee86930b
commit
d30cd8cc75
5
Makefile
5
Makefile
@ -14,6 +14,7 @@ help:
|
||||
@echo ' make build Build yq binary.'
|
||||
@echo ' make install Install yq.'
|
||||
@echo ' make xcompile Build cross-compiled binaries of yq.'
|
||||
@echo ' make snap Build a snap package of yq.'
|
||||
@echo ' make vendor Install dependencies using govendor.'
|
||||
@echo ' make format Run code formatter.'
|
||||
@echo ' make check Run static code analysis (lint).'
|
||||
@ -64,6 +65,10 @@ xcompile: check
|
||||
@find build -type d -exec chmod 755 {} \; || :
|
||||
@find build -type f -exec chmod 755 {} \; || :
|
||||
|
||||
.PHONY: snap
|
||||
snap:
|
||||
snapcraft
|
||||
|
||||
.PHONY: install
|
||||
install: build
|
||||
${DOCKRUN} go install
|
||||
|
Loading…
Reference in New Issue
Block a user