Merge pull request #61 from sean-callahan/master

Add Linux build environment variables for GOOS and GOARCH
This commit is contained in:
Mitch Roote 2016-11-02 20:23:33 -04:00 committed by GitHub
commit 7d3c8128ce

View File

@ -6,7 +6,7 @@ NODE_ENV:=production
build:
# Build Linux release
mkdir build
go build -o factorio-server-linux/factorio-server-manager src/*
GOOS=linux GOARCH=amd64 go build -o factorio-server-linux/factorio-server-manager src/*
# ui/node_modules/webpack/bin/webpack.js ui/webpack.config.js app/bundle.js --progress --profile --colors
cp -r app/ factorio-server-linux/
cp conf.json.example factorio-server-linux/conf.json