Add to README, add Makefile with development targets

This commit is contained in:
Michael Hohn
2024-06-25 12:04:46 -07:00
committed by =Michael Hohn
parent b4d9833da3
commit 9d1a891c72
2 changed files with 28 additions and 0 deletions

17
Makefile Normal file
View File

@@ -0,0 +1,17 @@
build:
cd cmd/server && GOOS=linux GOARCH=arm64 go build
fullbuild:
cd cmd/server && GOOS=linux GOARCH=arm64 go build -a
sendsubmit:
cd tools && sh ./submit-request.curl
lint:
golangci-lint run cmd/... pkg/...
deps:
godepgraph -maxlevel 4 -nostdlib -i github.com/minio/minio-go ./cmd/server | dot -Tpdf > deps-server.pdf && open deps-server.pdf
depa:
godepgraph -maxlevel 4 -nostdlib -i github.com/minio/minio-go ./cmd/agent | dot -Tpdf > deps-agent.pdf && open deps-agent.pdf