mycroft-precise/build.sh

15 lines
283 B
Bash
Raw Normal View History

#!/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"