bitburner-src/tools/build.sh

14 lines
258 B
Bash
Raw Normal View History

#!/bin/bash
# builds the game in the root folder
webpack --mode production
# 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