aboutsummaryrefslogtreecommitdiff
path: root/run
diff options
context:
space:
mode:
authorMarvin Borner2020-07-18 20:52:31 +0200
committerMarvin Borner2020-07-18 20:52:31 +0200
commitaf611a4eb21e998a06af79ecfa9f6898a2c7c55f (patch)
tree37abe1179af3362d62464cf886e5be1dc9781bf6 /run
parent5ad4683e2e59ea1d00558945872089bebea1c2b1 (diff)
Added testing to github
Diffstat (limited to 'run')
-rwxr-xr-xrun3
1 files changed, 3 insertions, 0 deletions
diff --git a/run b/run
index 1d18892..2c888ef 100755
--- a/run
+++ b/run
@@ -6,6 +6,9 @@ if grep -q "DEBUG=1" .env; then
deno test "${ARGS[@]}" test/ &&
echo "Tests succeeded!" &&
deno run "${ARGS[@]}" src/main.ts
+elif grep -q "DEBUG=2" .env; then
+ deno test "${ARGS[@]}" test/ &&
+ echo "Tests succeeded!"
else
deno run "${ARGS[@]}" src/main.ts
fi