diff options
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" |
