diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-11 15:43:32 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-11 15:43:32 +1000 |
| commit | a4f5138d41bee1562743e645cf937c24fcec36ea (patch) | |
| tree | efbb886b2b7172d172e2c9ef2e22146a5d7f0eb0 /run.sh | |
| parent | parser: fix error when no args (diff) | |
| download | caelestia-cli-a4f5138d41bee1562743e645cf937c24fcec36ea.tar.gz caelestia-cli-a4f5138d41bee1562743e645cf937c24fcec36ea.tar.bz2 caelestia-cli-a4f5138d41bee1562743e645cf937c24fcec36ea.zip | |
parser: print help when no args
Also create utility script for testing
Diffstat (limited to 'run.sh')
| -rwxr-xr-x | run.sh | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +#!/usr/bin/env sh + +# Utility script for rebuilding and running caelestia + +cd $(dirname $0) || exit + +sudo rm -r dist /usr/bin/caelestia /usr/lib/python3.*/site-packages/caelestia* 2> /dev/null +python -m build --wheel --no-isolation > /dev/null +sudo python -m installer --destdir=/ dist/*.whl > /dev/null + +/usr/bin/caelestia "$@" |