feat: add a fmt github action

This commit is contained in:
Nickolaj Jepsen 2025-12-13 19:41:40 +01:00
parent 76055bdf3f
commit 2c0c99180e
4 changed files with 50 additions and 9 deletions

View file

@ -94,12 +94,12 @@ bootstrap-flash device:
echo "Error: {{ device }} is not a block device"
exit 1
fi
# Build the ISO first if needed
if [ ! -d "result/iso" ]; then
just bootstrap-iso
fi
iso_file=$(ls -1 result/iso/*.iso | head -1)
echo "Flashing $iso_file to {{ device }}..."
echo "WARNING: This will ERASE ALL DATA on {{ device }}"