From 3f5ade2e7a139bb4405437e8fc5546aafc7b05ef Mon Sep 17 00:00:00 2001 From: unwox Date: Fri, 3 Oct 2025 11:56:37 +0600 Subject: WIP shop --- run.sh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'run.sh') 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" -- cgit v1.2.3