* Check spec directory exists before reading spec files * Fix spec example
10 lines
178 B
Bash
Executable File
10 lines
178 B
Bash
Executable File
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
# check syntax
|
|
python3 -m compileall -l ${SRC_PKG}
|
|
|
|
# install deps
|
|
pip3 install -r ${SRC_PKG}/requirements.txt -t ${SRC_PKG} && cp -r ${SRC_PKG} ${DEPLOY_PKG}
|