lightning-runner/go

19 lines
298 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