Add rebuild-cli.sh script

This commit is contained in:
Micah Lee 2020-11-29 10:42:04 -08:00
parent 66e9feae51
commit 7bcfe6cad1
No known key found for this signature in database
GPG key ID: 403C2657CD994F73
2 changed files with 15 additions and 10 deletions

9
desktop/scripts/rebuild-cli.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/bash
# Build the CLI python wheel and copy it to the desktop folder
SCRIPTS_DIR="$( cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd )"
cd $SCRIPTS_DIR
cd ../../cli
poetry build
cp dist/*.whl ../desktop