mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 23:22:29 +01:00
e8e107254d
build:dev now works
14 lines
250 B
Bash
14 lines
250 B
Bash
#!/bin/bash
|
|
|
|
# builds the game in the root folder
|
|
webpack --mode $1
|
|
|
|
# Clear out any files remaining from old builds and recreate folder
|
|
rm -rf .app
|
|
mkdir .app
|
|
|
|
# Should be all the files needed.
|
|
cp index.html .app
|
|
cp favicon.ico .app
|
|
cp -r dist .app
|