Files
fission-src/examples/spec-example/hello/build.sh
T
Ta-Ching ChenandGitHub fedf6b6e5b Check spec directory exists before reading spec files (#709)
* Check spec directory exists before reading spec files
* Fix spec example
2018-05-31 03:01:40 +08:00

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}