Merge pull request #565 from codysoyland/32-bit-build

Add 32-bit build to release process
This commit is contained in:
Cody Soyland 2017-05-22 12:40:52 -04:00 committed by GitHub
commit a7fcace1e9

View file

@ -39,12 +39,13 @@ pilosa: vendor
crossbuild: vendor
mkdir -p build/pilosa-$(IDENTIFIER)
make pilosa FLAGS="-o build/pilosa-$(IDENTIFIER)/pilosa"
cp {LICENSE,README.md} build/pilosa-$(IDENTIFIER)
cp LICENSE README.md build/pilosa-$(IDENTIFIER)
tar -cvz -C build -f build/pilosa-$(IDENTIFIER).tar.gz pilosa-$(IDENTIFIER)/
@echo "Created release build: build/pilosa-$(IDENTIFIER).tar.gz"
release:
make crossbuild GOOS=linux GOARCH=amd64
make crossbuild GOOS=linux GOARCH=386
make crossbuild GOOS=darwin GOARCH=amd64
install: vendor