mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 16:16:50 +01:00
feat: add a fmt github action
This commit is contained in:
parent
76055bdf3f
commit
2c0c99180e
4 changed files with 50 additions and 9 deletions
4
justfile
4
justfile
|
|
@ -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 }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue