first save
This commit is contained in:
17
deploy.fish
Executable file
17
deploy.fish
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/usr/bin/fish
|
||||
|
||||
echo "=== MicroPython Deployment Script ==="
|
||||
|
||||
# Check if app directory exists
|
||||
if not test -d "app"
|
||||
echo "Error: 'app' directory not found!"
|
||||
exit 1
|
||||
end
|
||||
|
||||
echo "1. Copying app directory to device..."
|
||||
mpremote connect port:rfc2217://localhost:4000 cp -r app :
|
||||
|
||||
echo "2. Starting main.py..."
|
||||
mpremote connect port:rfc2217://localhost:4000 run main.py
|
||||
|
||||
echo "=== Deployment Complete ==="
|
||||
Reference in New Issue
Block a user