✨ build: use pnpm + shell scripts to build project
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
file="${1:-./build/colorshell}"
|
||||
|
||||
function start() {
|
||||
exec "$file"
|
||||
}
|
||||
|
||||
if [[ -f "$file" ]]; then
|
||||
start
|
||||
else
|
||||
pnpm build
|
||||
start
|
||||
fi
|
||||
Reference in New Issue
Block a user