mirror of
https://github.com/OpenFactorioServerManager/factorio-server-manager.git
synced 2025-01-16 04:54:52 +02:00
modify makefile to output correct directory
This commit is contained in:
parent
553a2477cd
commit
c3f40497dd
16
Makefile
16
Makefile
@ -8,16 +8,16 @@ build:
|
||||
mkdir build
|
||||
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
|
||||
zip -r build/factorio-server-manager-linux-x64.zip factorio-server-linux
|
||||
rm -rf factorio-server-linux
|
||||
cp -r app/ factorio-server-manager/
|
||||
cp conf.json.example factorio-server-manager/conf.json
|
||||
zip -r build/factorio-server-manager-linux-x64.zip factorio-server-manager
|
||||
rm -rf factorio-server-manager
|
||||
# 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-manager-windows.zip factorio-server-windows
|
||||
rm -rf factorio-server-windows
|
||||
cp -r app/ factorio-server-manager/
|
||||
cp conf.json.example factorio-server-manager/conf.json
|
||||
zip -r build/factorio-server-manager-windows.zip factorio-server-manager
|
||||
rm -rf factorio-server-manager
|
||||
|
||||
dev:
|
||||
mkdir dev
|
||||
|
Loading…
Reference in New Issue
Block a user