From 08d472e10aa1ba330c99027c14b5efc2dc6d6ba6 Mon Sep 17 00:00:00 2001 From: Guilherme Oliveira Date: Thu, 26 Nov 2015 15:37:21 +0100 Subject: [PATCH] makefile only for internal buildbot no longer use on external CI --- Makefile | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index e6e2bba..657b9b4 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,12 @@ -.PHONY: all deps special-deps test semaphore-test clean build semaphore-build +.PHONY: all deps test clean build GO ?= go BIN_NAME=buildbot-dashboard all: build test -special-deps: - ${GO} get -u -d github.com/ghophp/buildbot-dashboard - deps: + ${GO} get -u -d github.com/ghophp/buildbot-dashboard ${GO} get gopkg.in/check.v1 ${GO} get github.com/ghophp/render ${GO} get github.com/go-martini/martini @@ -17,20 +15,16 @@ deps: ${GO} get github.com/jteeuwen/go-bindata/... ${GOPATH}/bin/go-bindata static/... -semaphore-build: deps -semaphore-build: +build: deps +build: ${GO} build -o ${BIN_NAME} -semaphore-test: deps -semaphore-test: deps +test: deps +test: ${GO} test github.com/ghophp/buildbot-dashboard/cache ${GO} test github.com/ghophp/buildbot-dashboard/config ${GO} test github.com/ghophp/buildbot-dashboard/container ${GO} test github.com/ghophp/buildbot-dashboard/handler -build: special-deps semaphore-build - -test: special-deps semaphore-test - clean: rm ${BIN_NAME} \ No newline at end of file