Updated makefile
This commit is contained in:
parent
811fbdddbc
commit
fd56b46ab2
@ -41,8 +41,8 @@ before_script:
|
|||||||
# script always run to completion (set +e). All of these code checks are must haves
|
# script always run to completion (set +e). All of these code checks are must haves
|
||||||
# in a modern Go project.
|
# in a modern Go project.
|
||||||
script:
|
script:
|
||||||
- go get -t ./... # Get dependencies. Allow this to fail because components cannot be found.
|
- make deps # Get dependencies. Allow this to fail because components cannot be found.
|
||||||
- make all
|
- make all # Build
|
||||||
# - test -z $(gofmt -s -l $GO_FILES) # Fail if a .go file hasn't been formatted with gofmt
|
# - 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 . # Run all the tests
|
||||||
# - go test -v -race ./... # Run all the tests with the race detector enabled
|
# - go test -v -race ./... # Run all the tests with the race detector enabled
|
||||||
|
3
makefile
3
makefile
@ -74,7 +74,8 @@ assets:
|
|||||||
$(TSCMD)
|
$(TSCMD)
|
||||||
@pack
|
@pack
|
||||||
deps:
|
deps:
|
||||||
@go get -v ./...
|
@go get -t -v ./...
|
||||||
|
@exit 0
|
||||||
depslist:
|
depslist:
|
||||||
$(GOCMD) list -f {{.Deps}} | sed -e 's/\[//g' -e 's/\]//g' | tr " " "\n"
|
$(GOCMD) list -f {{.Deps}} | sed -e 's/\[//g' -e 's/\]//g' | tr " " "\n"
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user