This repository has been archived on 2023-08-27. You can view files and clone it, but cannot push or open issues or pull requests.
transfer.sh/Makefile

9 lines
268 B
Makefile

.PHONY: lint build
.DEFAULT_GOAL = build
lint:
golangci-lint run --config .golangci.yml
build:
CGO_ENABLED=0 go build -v -tags netgo -ldflags "-X github.com/zenofile/transfer.sh/cmd.Version=$$(git describe --tags) -a -s -w -extldflags '-static'" -o dist/transfer