aboutsummaryrefslogtreecommitdiffstats
path: root/dev.sh
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2020-04-11 12:25:56 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2020-04-11 12:25:56 +0200
commit55527c00eb35bf3b07b361363fd8ca2961afc8ba (patch)
tree4d9067ff2bcfd921dcb24852b522537f948e6801 /dev.sh
parent5ea75a1a8176f764429fb45875626b1b7ef6644c (diff)
downloadmitmproxy-55527c00eb35bf3b07b361363fd8ca2961afc8ba.tar.gz
mitmproxy-55527c00eb35bf3b07b361363fd8ca2961afc8ba.tar.bz2
mitmproxy-55527c00eb35bf3b07b361363fd8ca2961afc8ba.zip
docs: rename docs scripts and improve template
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\`"