aboutsummaryrefslogtreecommitdiff
path: root/Justfile
diff options
context:
space:
mode:
authorRuben Beltran del Rio <jj@r.bdr.sh>2026-06-15 14:35:36 +0200
committerRuben Beltran del Rio <jj@r.bdr.sh>2026-06-16 14:47:30 +0200
commit657aa83a5ca24dc35572c040df64a0abb85e8612 (patch)
treefe0b6fd425d8cad9dc6a28ada4ad8600e42b367e /Justfile
Initial extraction from Norganize
Diffstat (limited to 'Justfile')
-rw-r--r--Justfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/Justfile b/Justfile
new file mode 100644
index 0000000..c6ac58d
--- /dev/null
+++ b/Justfile
@@ -0,0 +1,24 @@
+profile := "debug"
+
+default: build
+
+build:
+ swift build -c {{profile}}
+
+test:
+ swift test
+
+coverage:
+ swift test --enable-code-coverage
+ xcrun llvm-cov report \
+ .build/debug/NorgUITests.xctest/Contents/MacOS/NorgUITests \
+ -instr-profile=.build/debug/codecov/default.profdata
+
+format:
+ swift-format --in-place --recursive Sources Tests
+ swiftlint --fix Sources Tests
+
+lint:
+ swiftlint Sources Tests
+
+ci: lint test