New launch scripts, basically at this point package.json it just for building but not for running anything
This commit is contained in:
17
freechat-client/make
Executable file
17
freechat-client/make
Executable 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
|
||||
}
|
||||
|
||||
"$@"
|
||||
|
||||
Reference in New Issue
Block a user