New launch scripts, basically at this point package.json it just for building but not for running anything

This commit is contained in:
shockrah
2021-01-01 17:14:36 -08:00
parent 430e10e6b6
commit 12e9c07d60
3 changed files with 22 additions and 4 deletions

17
freechat-client/make Executable file
View File

@@ -0,0 +1,17 @@
#!/bin/bash
# Script to help build and run this fucking thing because apparantly npm sucks for
# projects that use cli arguments
[[ -z "$1" ]] && echo Options: run - make && exit 0
run() {
./node_modules/electron/dist/electron main.js $@
}
build() {
sh scrips/build-sass.sh build
}
"$@"