Add build.sh

This commit is contained in:
redphx
2024-10-05 10:41:18 +07:00
parent d0f43db1fd
commit af41dc7c5e
2 changed files with 21 additions and 1 deletions

16
build.sh Executable file
View File

@@ -0,0 +1,16 @@
#!/bin/bash
build_all () {
# Clear screen
printf "\033c"
# Build all variants
bun build.ts --version $1 --variant full
bun build.ts --version $1 --variant lite
# Wait for key
read -p ">> Press Enter to build again..."
build_all $1
}
build_all $1