lightning-runner/go
2021-12-21 03:00:21 -08:00

19 lines
308 B
Bash
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env bash
set -euo pipefail
⚡test() {
_help-line "Run all the tests" "$@"
exit=0
for test in test/test*; do
bash $test || exit=1
done
exit $exit
}
deploy() {
_help-line "Publish ⚡️" "$@"
scp ⚡ v@commandcenter.ofvlad.xyz:/srv/http/apps.ofvlad.xyz/⚡
}
source