init
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
.PHONY: run test check build docker-build
|
||||
|
||||
run:
|
||||
go run ./cmd/server
|
||||
|
||||
test:
|
||||
go test ./...
|
||||
|
||||
check:
|
||||
gofmt -w $$(find . -name '*.go' -type f)
|
||||
go vet ./...
|
||||
go test -race ./...
|
||||
|
||||
build:
|
||||
mkdir -p bin
|
||||
CGO_ENABLED=0 go build -trimpath -ldflags="-s -w" -o bin/license-platform ./cmd/server
|
||||
|
||||
docker-build:
|
||||
docker build -t universal-license-platform:1.0.0-local .
|
||||
Reference in New Issue
Block a user