We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8debe3b commit a7c301fCopy full SHA for a7c301f
Makefile
@@ -1,16 +1,11 @@
1
-
2
-BINARY=sicra
3
-PLATFORMS=darwin linux windows
4
-ARCHITECTURES=386 amd64
5
6
default: deps build
7
deps:
8
@echo "==> Updating build dependencies..."
9
go get -u github.com/gocolly/colly/...
10
11
build:
12
@echo "==> Building for all platforms..."
13
- $(foreach GOOS, $(PLATFORMS),\
14
- $(foreach GOARCH, $(ARCHITECTURES), $(shell export GOOS=$(GOOS); export GOARCH=$(GOARCH); go build -o build/$(GOOS)/$(GOARCH)/$(BINARY))))
+ GOOS=linux GOARCH=amd64 go build -o build/sicra
+ tar -czf build/sicra-linux-amd64.tar.gz build/sicra
15
16
.PHONY: deps build
0 commit comments