Files
bitburner-src/tools/build.sh
T
2026-05-19 14:44:24 -07:00

15 lines
297 B
Bash

#!/bin/bash
# builds the game in the root folder, exit on failure
webpack --mode $1 || exit 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 export.html .app
cp favicon.ico .app
cp -r dist .app