diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-06-16 12:08:21 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-06-16 12:22:47 +0200 |
| commit | 501fdce29e4d2c46c4708ad7f44056878e0db3fa (patch) | |
| tree | db923b77037db9f5b37600a6e34c3bb2e8a971be /Justfile | |
Initial extraction from Norganize1.0.0
Diffstat (limited to 'Justfile')
| -rw-r--r-- | Justfile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Justfile b/Justfile new file mode 100644 index 0000000..d02c5f2 --- /dev/null +++ b/Justfile @@ -0,0 +1,27 @@ +profile := "debug" + +default: build + +build: + swift build -c {{profile}} + +test: + swift test + +coverage: + swift test --enable-code-coverage + xcrun llvm-cov report \ + .build/debug/NorgKitTests.xctest/Contents/MacOS/NorgKitTests \ + -instr-profile=.build/debug/codecov/default.profdata + +benchmark: + swift package benchmark --target ParseBenchmarkTarget + +format: + swift-format --in-place --recursive Sources Tests + swiftlint --fix Sources Tests + +lint: + swiftlint Sources Tests + +ci: lint test |