From 3dba4eeb10049516b27a92468040ba86993d64c9 Mon Sep 17 00:00:00 2001 From: Oliver Steele Date: Tue, 27 Jun 2017 18:10:12 -0400 Subject: [PATCH] Makefile default target is ci --- .gitignore | 1 + Makefile | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 255f7bb..78f4fea 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.output +liquid diff --git a/Makefile b/Makefile index 5cdf884..cff2baa 100644 --- a/Makefile +++ b/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