mirror of https://github.com/miguelmota/cointop
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
349 B
Makefile
19 lines
349 B
Makefile
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 ./...
|