Add example for builder podspec (#1374)
This commit is contained in:
committed by
Ta-Ching Chen
parent
d1ed089c3e
commit
e4f44ffa63
@@ -0,0 +1,9 @@
|
||||
#!/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}
|
||||
@@ -0,0 +1,4 @@
|
||||
import yaml
|
||||
|
||||
def main():
|
||||
return "hello, world!!\n"
|
||||
@@ -0,0 +1 @@
|
||||
pyyaml
|
||||
Reference in New Issue
Block a user