Adding shell script to more easily install the app
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
APP_FILES=('main.py' 'config.py')
|
||||
APP_PACKAGES='./package.json'
|
||||
|
||||
# Copy required files
|
||||
mpremote cp "${APP_FILES[@]}" :
|
||||
|
||||
# Install dependencies
|
||||
mpremote mip install ./package.json
|
||||
|
||||
# Reset the pico
|
||||
mpremote reset
|
||||
Reference in New Issue
Block a user