summaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authorunwox <me@unwox.com>2025-10-03 11:56:37 +0600
committerunwox <me@unwox.com>2025-10-13 23:11:01 +0600
commit3f5ade2e7a139bb4405437e8fc5546aafc7b05ef (patch)
tree77c437958d74b591f11ec207d16749cf207a51e3 /run.sh
parentf5a70e6a446e00969adb866ef2e2d10bf33bc4a8 (diff)
WIP shop
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh11
1 files changed, 8 insertions, 3 deletions
diff --git a/run.sh b/run.sh
index feff3a8..ebddad7 100755
--- a/run.sh
+++ b/run.sh
@@ -8,12 +8,17 @@ usage () {
}
serve () {
- echo "running jit"
+ echo "running in jit"
go run -tags jit ../. -n ${1:-1} bin/serve.fnl
}
+debug () {
+ echo "running debug version in jit"
+ go run -tags jit ../. -n ${1:-1} -D bin/serve.fnl
+}
+
deploy () {
- git stash -u
+ # git stash -u
scp -r bin root@everytea.ru:~/whitetoad.ru/
scp -r pages root@everytea.ru:~/whitetoad.ru/
scp -r etc root@everytea.ru:~/whitetoad.ru/
@@ -25,7 +30,7 @@ deploy () {
scp dicts.fnl root@everytea.ru:~/whitetoad.ru/
scp templates.fnl root@everytea.ru:~/whitetoad.ru/
ssh root@everytea.ru -- systemctl restart whitetoad
- git stash pop
+ # git stash pop
}
cmd="$1"