File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ export VIRTUALENV=${VIRTUALENV:="${app_name}back"}
88export FLASK_ENV=${FLASK_ENV:= " production" }
99export PY_VERSION=${PY_VERSION:= " 3.7" }
1010export SYSPKG=${SYSPKG:= " no" }
11+ export DBTYPE=${DBTYPE:= " sql" }
1112
1213
1314setup () {
@@ -22,7 +23,7 @@ setup() {
2223 if [ " ${update} " != " no" ]; then
2324 pip install -U pip
2425 pip install -U wheel
25- pip install -e .
26+ pip install -e " .[ ${DBTYPE} ] "
2627 fi
2728 fi
2829 if [ -e " ${BIN_DIR} /../migrations/main/001_initial.py" ]; then
Original file line number Diff line number Diff line change 66export BIN_DIR=` dirname $0 `
77export PROJECT_ROOT=" ${BIN_DIR} /.."
88export FLASK_ENV=" testing"
9+
910. ${BIN_DIR} /common.sh
1011setup
1112
@@ -21,6 +22,7 @@ if [ "${CI}" = "ci" ]; then
2122fi
2223
2324
25+ cd " ${PROJECT_ROOT} "
2426rm -rf ` find . -name __pycache__`
2527rm -rf .pytest_cache
2628flake8 .
You can’t perform that action at this time.
0 commit comments