1
0
mirror of https://github.com/danog/liquid.git synced 2024-11-26 21:04:38 +01:00

Makefile default target is ci

This commit is contained in:
Oliver Steele 2017-06-27 18:10:12 -04:00
parent ac12225247
commit 3dba4eeb10
2 changed files with 6 additions and 3 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
*.output
liquid

View File

@ -10,11 +10,13 @@ VERSION=0.0.0
LDFLAGS=-ldflags "-X ${PACKAGE}.Version=${VERSION} -X ${PACKAGE}.BuildTime=${BUILD_TIME}"
.DEFAULT_GOAL: $(LIBRARY)
.PHONY: build clean dependencies setup install lint test help
.DEFAULT_GOAL: ci
.PHONY: build clean ci dependencies setup install lint test help
ci: setup test #lint
$(LIBRARY): $(SOURCES)
go build ${LDFLAGS} -o ${LIBRARY} ${PACKAGE}/cmd/liquid
go build ${LDFLAGS} -o ${LIBRARY} ${PACKAGE}
build: $(LIBRARY) ## compile the package