This will remove the current .drone.yml which isn't used anymore, update the Makefile target and move tests to using `t.Skip` instead of `t.Fatal` if no database exists during tests. This is so it's possible to develop new tests that may not require a database.
14 lines
141 B
Makefile
14 lines
141 B
Makefile
all: get-deps build
|
|
|
|
build:
|
|
@go build pgstore.go
|
|
|
|
get-deps:
|
|
@go get -d -v ./...
|
|
|
|
test: get-deps
|
|
@go test -v ./...
|
|
|
|
format:
|
|
@go fmt ./...
|