Move to typical go project layout, fix golangci-lint warnings, update deps

This commit is contained in:
eleksir
2024-10-06 22:10:19 +03:00
parent 0b573aa169
commit 83970650b5
115 changed files with 9402 additions and 4920 deletions

View File

@@ -1,15 +1,14 @@
#!/usr/bin/env gmake -f
BUILDOPTS=-ldflags="-s -w" -a -gcflags=all=-l -trimpath
BINARY=reniced
BUILDOPTS=-ldflags="-s -w" -a -gcflags=all=-l -trimpath
all: clean build
build:
go build ${BUILDOPTS} -o ${BINARY}
go build ${BUILDOPTS} -o ${BINARY} ./cmd/${BINARY}
clean:
go clean
$(RM) ${BINARY}
upgrade:
$(RM) -r vendor