Hide pio folder in a tarball to preserve .git folders

This commit is contained in:
Jonathan Bennett 2025-01-05 19:38:08 -06:00
parent 2396aa77ca
commit 7f280dd556
2 changed files with 2 additions and 0 deletions

View File

@ -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)

1
debian/rules vendored
View File

@ -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