diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-06-19 19:16:25 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-06-19 22:32:15 +0200 |
| commit | 25fc48fb17b53fe1c155c4f53f673ed91fdd8f74 (patch) | |
| tree | de96add2a7ae8c5cc79a354fbffa26e80349cc15 /Justfile | |
Initial extraction from Norganize
Diffstat (limited to 'Justfile')
| -rw-r--r-- | Justfile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Justfile b/Justfile new file mode 100644 index 0000000..b3b6a9b --- /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/NorgEditorTests.xctest/Contents/MacOS/NorgEditorTests \ + -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 |