
+ More skeleton code for the caching system ! Ready for rtc on text based message listening which is where heavy caching comes into play
22 lines
381 B
Bash
Executable File
22 lines
381 B
Bash
Executable File
#!/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 \| build && exit 0
|
|
|
|
run() {
|
|
./node_modules/electron/dist/electron main.js $@
|
|
}
|
|
|
|
build() {
|
|
sh scripts/build-sass.sh build
|
|
echo tsc src/types.ts
|
|
tsc src/types.ts
|
|
echo tsc src/cache.ts
|
|
tsc src/cache.ts
|
|
}
|
|
|
|
"$@"
|
|
|