diff options
author | Micah Lee <micah@micahflee.com> | 2020-11-29 10:42:04 -0800 |
---|---|---|
committer | Micah Lee <micah@micahflee.com> | 2020-11-29 10:42:04 -0800 |
commit | 7bcfe6cad11036feeb52b199a9f0736ff35e21d6 (patch) | |
tree | 5b4645dd58b64fcc0c49e7802c7ff3ca40d5b978 /desktop/scripts | |
parent | 66e9feae51e307414f68055f0f50c6324fbcddb8 (diff) | |
download | onionshare-7bcfe6cad11036feeb52b199a9f0736ff35e21d6.tar.gz onionshare-7bcfe6cad11036feeb52b199a9f0736ff35e21d6.zip |
Add rebuild-cli.sh script
Diffstat (limited to 'desktop/scripts')
-rwxr-xr-x | desktop/scripts/rebuild-cli.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/desktop/scripts/rebuild-cli.sh b/desktop/scripts/rebuild-cli.sh new file mode 100755 index 00000000..f8191955 --- /dev/null +++ b/desktop/scripts/rebuild-cli.sh @@ -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
\ No newline at end of file |