From ea80c89eb8c2f8f2a7b37f60e81eaed0541715a7 Mon Sep 17 00:00:00 2001 From: majormjr Date: Wed, 2 Nov 2016 18:05:14 -0400 Subject: [PATCH] Fixed release filename in Makefile --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 06fa1fd..efa1b9a 100644 --- a/Makefile +++ b/Makefile @@ -1,19 +1,21 @@ # Build tool for Factorio Server Manager # +NODE_ENV:=production + build: # Build Linux release mkdir build 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 +# 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 - zip -r build/factorio-server-linux-x64.zip factorio-server-linux + zip -r build/factorio-server-manager-linux-x64.zip factorio-server-linux rm -rf factorio-server-linux # Build Windows release GOOS=windows GOARCH=386 go build -o factorio-server-windows/factorio-server-manager.exe src/* cp -r app/ factorio-server-windows/ cp conf.json.example factorio-server-windows/conf.json - zip -r build/factorio-server-windows.zip factorio-server-windows + zip -r build/factorio-server-manager-windows.zip factorio-server-windows rm -rf factorio-server-windows