freechat/freechat-client/make
shockrah 8812ff7198 + text/plain Message sending works now
+ More skeleton code for the caching system

! Ready for rtc on text based message listening which is where heavy caching comes into play
2021-03-20 19:35:38 -07:00

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
}
"$@"