Updated makefile

This commit is contained in:
Eduard Urbach 2018-04-26 03:44:03 +02:00
parent 811fbdddbc
commit fd56b46ab2
2 changed files with 4 additions and 3 deletions

View File

@ -41,8 +41,8 @@ before_script:
# script always run to completion (set +e). All of these code checks are must haves
# in a modern Go project.
script:
- go get -t ./... # Get dependencies. Allow this to fail because components cannot be found.
- make all
- make deps # Get dependencies. Allow this to fail because components cannot be found.
- make all # Build
# - test -z $(gofmt -s -l $GO_FILES) # Fail if a .go file hasn't been formatted with gofmt
# - go test -v . # Run all the tests
# - go test -v -race ./... # Run all the tests with the race detector enabled

View File

@ -74,7 +74,8 @@ assets:
$(TSCMD)
@pack
deps:
@go get -v ./...
@go get -t -v ./...
@exit 0
depslist:
$(GOCMD) list -f {{.Deps}} | sed -e 's/\[//g' -e 's/\]//g' | tr " " "\n"
clean: