2021-01-08 11:15:58 +08:00

14 lines
220 B
Bash
Executable File

#!/bin/bash -e
if [ -e "./demo.zip" ] ; then
rm ./demo.zip
fi
mkdir tmp
cp index.py tmp/
cd tmp
pip3 install -t . iotedge_driver_link_sdk==0.0.1 #打包驱动SDK
zip -r demo.zip .
cd ..
cp tmp/demo.zip .
rm -rf tmp