diff options
| author | unwox <me@unwox.com> | 2025-10-03 11:56:37 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2025-10-13 23:11:01 +0600 |
| commit | 3f5ade2e7a139bb4405437e8fc5546aafc7b05ef (patch) | |
| tree | 77c437958d74b591f11ec207d16749cf207a51e3 /run.sh | |
| parent | f5a70e6a446e00969adb866ef2e2d10bf33bc4a8 (diff) | |
WIP shop
Diffstat (limited to 'run.sh')
| -rwxr-xr-x | run.sh | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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" |
