Commit 84eb6e76 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Fail tests on go fmt

parent 9a872176
...@@ -9,6 +9,7 @@ install: gitlab-workhorse ...@@ -9,6 +9,7 @@ install: gitlab-workhorse
.PHONY: test .PHONY: test
test: test/data/test.git test: test/data/test.git
go fmt | awk '{ print "Please run go fmt"; exit 1 }'
go test go test
test/data/test.git: test/data test/data/test.git: test/data
......
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