a2a78c0aff
If you run it as scripts/initenv.sh, activating venv is useless as bash will exit immediately afterwards. If you `source` it as suggested by README.md, `set -e` will set the flag for the current shell and your shell will exit as soon as some command returns non-zero status, e.g. cmdeploy fails or you simply do `ls /foo/bar/baz` and `ls` complains that `/foo/bar/baz` does not exist.
7 lines
109 B
Bash
Executable File
7 lines
109 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
python3 -m venv venv
|
|
|
|
venv/bin/pip install -e chatmaild
|
|
venv/bin/pip install -e cmdeploy
|