2
0
mirror of https://github.com/miguelmota/cointop synced 2024-11-05 00:00:14 +00:00
cointop/Makefile

19 lines
349 B
Makefile
Raw Normal View History

all:
@echo "no default"
run:
go run main.go
# http://macappstore.org/upx
build: clean
env GOARCH=amd64 go build -ldflags "-s -w" -o bin/cointop64 && upx bin/cointop64 && \
env GOARCH=386 go build -ldflags "-s -w" -o bin/cointop32 && upx bin/cointop32
clean:
go clean && \
rm -f bin/cointop64 && \
rm -f bin/cointop32
test:
go test ./...