fix(led-tool): build cli without spec file dependency
This commit is contained in:
1 parent
eee9327e15
commit
9e72c62481
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -10,7 +10,7 @@ pipenv install "$@"
|
||||
if [ ! -f "dist/led-cli" ] || [ "cli.py" -nt "dist/led-cli" ] || [ "device.py" -nt "dist/led-cli" ]; then
|
||||
echo ""
|
||||
echo "Building binary..."
|
||||
pipenv run pyinstaller --clean led-cli.spec
|
||||
pipenv run pyinstaller --clean --onefile --name led-cli --paths lib cli.py
|
||||
fi
|
||||
|
||||
# Ensure ~/.local/bin exists
|
||||
|
||||
Reference in new issue
Block a user