clean up dependencies

This commit is contained in:
Sebastian Hugentobler 2019-05-27 17:22:28 +02:00
parent ff763e8385
commit 4d8005c111
3 changed files with 4 additions and 34 deletions

View file

@ -1,10 +1,13 @@
.PHONY: all
all: bin/ecload bin/ecload.exe bin/ecload-mac
.PHONY: clean
clean:
rm -r bin/
go clean ./cmd/ecload/ ./pkg/ecload/
bin/ecload:
GOOS=linux GOARCH=amd64 go build -v -ldflags '-s' -o $@ cmd/ecload/main.go
GOOS=linux GOARCH=amd64 go build -ldflags '-s' -v -o $@ cmd/ecload/main.go
bin/ecload.exe:
GOOS=windows GOARCH=amd64 go build -ldflags '-s' -v -o $@ cmd/ecload/main.go