diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-06-14 17:07:38 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-06-15 13:38:02 +0200 |
| commit | 3402f5764f794a60f85a152a13c4eacaa2a719f6 (patch) | |
| tree | 9fafe13da4caee303313033e313461a556f9f495 /Justfile | |
Extract from Norganizer
Diffstat (limited to 'Justfile')
| -rw-r--r-- | Justfile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Justfile b/Justfile new file mode 100644 index 0000000..427d8a3 --- /dev/null +++ b/Justfile @@ -0,0 +1,25 @@ +profile := "debug" + +default: build + +build: + swift build -c {{profile}} + +test: + swift test + +coverage: + swift test --enable-code-coverage + xcrun llvm-cov report \ + .build/debug/NorgKeyboardToolbarTests.xctest/Contents/MacOS/NorgKeyboardToolbarTests \ + -instr-profile=.build/debug/codecov/default.profdata \ + --ignore-filename-regex='\.build|NorgKeyboardToolbar\.swift' + +format: + swift-format --in-place --recursive Sources Tests + swiftlint --fix Sources Tests + +lint: + swiftlint Sources Tests + +ci: lint test |