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:
parent
ac12225247
commit
3dba4eeb10
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
|
||||
*.output
|
||||
liquid
|
||||
|
8
Makefile
8
Makefile
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user