aboutsummaryrefslogtreecommitdiffstats
path: root/dev.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dev.sh')
-rwxr-xr-xdev.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/dev.sh b/dev.sh
index a90b48ab..df7b22d4 100755
--- a/dev.sh
+++ b/dev.sh
@@ -1,6 +1,9 @@
-#!/bin/sh
-set -e
-set -x
+#!/usr/bin/env bash
+
+set -o errexit
+set -o pipefail
+set -o nounset
+set -o xtrace
echo "Creating dev environment in ./venv..."
@@ -12,4 +15,4 @@ pip3 install -r requirements.txt
echo ""
echo " * Created virtualenv environment in ./venv."
echo " * Installed all dependencies into the virtualenv."
-echo " * You can now activate the $(python3 --version) virtualenv with this command: \`. venv/bin/activate\`" \ No newline at end of file
+echo " * You can now activate the $(python3 --version) virtualenv with this command: \`. venv/bin/activate\`"