diff options
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..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 |