kopia lustrzana https://github.com/meshtastic/firmware
Hide pio folder in a tarball to preserve .git folders
rodzic
2396aa77ca
commit
7f280dd556
|
@ -6,6 +6,7 @@ export PLATFORMIO_CORE_DIR=pio/core
|
|||
|
||||
# Download libraries to `libdeps`
|
||||
platformio pkg install -e native
|
||||
tar -cf pio.tar pio/
|
||||
|
||||
package=$(dpkg-parsechangelog --show-field Source)
|
||||
|
||||
|
|
|
@ -13,6 +13,7 @@ PIO_ENV:=\
|
|||
|
||||
override_dh_auto_build:
|
||||
# Build with platformio
|
||||
tar -xf pio.tar
|
||||
$(PIO_ENV) platformio run -e native
|
||||
# Move the binary and default config to the correct name
|
||||
mv .pio/build/native/program .pio/build/native/meshtasticd
|
||||
|
|
Ładowanie…
Reference in New Issue