Commit fa26da29 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Do a full build during "make test"

parent e8b5c73d
...@@ -8,7 +8,7 @@ install: gitlab-workhorse ...@@ -8,7 +8,7 @@ install: gitlab-workhorse
install gitlab-workhorse ${PREFIX}/bin/ install gitlab-workhorse ${PREFIX}/bin/
.PHONY: test .PHONY: test
test: test/data/test.git test: test/data/test.git gitlab-workhorse
go fmt | awk '{ print "Please run go fmt"; exit 1 }' go fmt | awk '{ print "Please run go fmt"; exit 1 }'
go test go test
...@@ -19,6 +19,8 @@ test/data: ...@@ -19,6 +19,8 @@ test/data:
mkdir -p test/data mkdir -p test/data
.PHONY: clean .PHONY: clean
clean: clean: clean-workhorse
rm -f gitlab-workhorse
rm -rf test/data test/scratch rm -rf test/data test/scratch
clean-workhorse:
rm -f gitlab-workhorse
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment