aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2026-02-05 13:05:33 +0530
committerAkshay Nair <phenax5@gmail.com>2026-02-05 13:05:33 +0530
commita40d8f331ba5b7ea239b35714eaa1cff504a086b (patch)
treefb7e59823959b7ca71f4b4c0a211571b56b56ac2 /justfile
parentcc9d915435a61d71f11cffa264cf941de58fe444 (diff)
downloaddaft-watch-a40d8f331ba5b7ea239b35714eaa1cff504a086b.tar.gz
daft-watch-a40d8f331ba5b7ea239b35714eaa1cff504a086b.zip
Updates stub
Diffstat (limited to 'justfile')
-rw-r--r--justfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/justfile b/justfile
index 575afa9..eec984d 100644
--- a/justfile
+++ b/justfile
@@ -37,8 +37,8 @@ read:
write-fuses: check-hexfile-exists
{{AVRDUDE}} -U lfuse:w:{{OUTDIR}}/out.elf:e -U hfuse:w:{{OUTDIR}}/out.elf:e -U efuse:w:{{OUTDIR}}/out.elf:e
-read-fuse:
- {{AVRDUDE}} -U lfuse:r:-:h -U hfuse:r:-:h
+read-fuses:
+ {{AVRDUDE}} -U lfuse:r:-:h -U hfuse:r:-:h -U efuse:r:-:h
test:
gcc -g -std=gnu99 -DSTUBBED=1 -I./src -I./test/stubbed/ -Wall -Wno-unused-variable {{SRCS}} -o {{OUTDIR}}/test
@@ -48,7 +48,7 @@ clean:
rm -rf {{OUTDIR}}
format:
- find src/ -iname '*.h' -o -iname '*.c' | xargs clang-format -i
+ find src/ test/ -iname '*.h' -o -iname '*.c' | xargs clang-format -i
@check-hexfile-exists:
[ -f "{{OUTDIR}}/out.hex" ] || (echo "No out.hex. Run build first"; exit 1);