feat: initial goget release — modern IPv6-first download utility
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
_default:
|
||||
@just --list
|
||||
|
||||
# Install dependencies (Go modules)
|
||||
install:
|
||||
go mod download
|
||||
|
||||
# Run from source (development)
|
||||
run:
|
||||
go run ./cmd/goget
|
||||
|
||||
# Build the binary
|
||||
build:
|
||||
go vet ./...
|
||||
gofmt -l $(find cmd internal pkg -name '*.go') | grep . && exit 1 || true
|
||||
go build -ldflags "-s -w" -o bin/goget ./cmd/goget
|
||||
|
||||
# Run tests (race detector + fuzz seed corpus)
|
||||
test:
|
||||
go test -race -count=1 ./...
|
||||
|
||||
# Remove build artifacts
|
||||
uninstall:
|
||||
rm -rf bin/ coverage.out
|
||||
Reference in New Issue
Block a user