aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/justfile b/justfile
new file mode 100644
index 0000000..749fde6
--- /dev/null
+++ b/justfile
@@ -0,0 +1,28 @@
+build:
+ pio run -e attiny84;
+
+check:
+ pio check --skip-packages
+
+upload:
+ pio run -e attiny84 -t upload
+
+clean:
+ pio run -t clean
+
+update:
+ pio pkg update
+
+monitor:
+ pio device monitor
+
+test:
+ pio test -e test
+
+format:
+ find include/ src/ -iname '*.h' -o -iname '*.cpp' | xargs clang-format -i
+
+devsetup:
+ # COMPILATIONDB_INCLUDE_TOOLCHAIN=true pio run -t compiledb
+ ./setup_compiledb.sh
+