2018-06-20 20:45:31 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -eE
|
|
|
|
|
|
|
|
./setup.sh
|
|
|
|
source .venv/bin/activate
|
|
|
|
pip install pyinstaller
|
|
|
|
pyinstaller -y precise.engine.spec
|
|
|
|
|
2018-06-22 15:38:08 +00:00
|
|
|
out_name="precise-engine_$(precise-engine --version 2>&1)_$(uname -m).tar.gz"
|
|
|
|
cd dist
|
|
|
|
tar czvf "$out_name" "precise-engine"
|
|
|
|
echo "Wrote to dist/$out_name"
|
2018-06-20 20:45:31 +00:00
|
|
|
|