From 25fc48fb17b53fe1c155c4f53f673ed91fdd8f74 Mon Sep 17 00:00:00 2001 From: Ruben Beltran del Rio Date: Fri, 19 Jun 2026 19:16:25 +0200 Subject: Initial extraction from Norganize --- Justfile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Justfile (limited to 'Justfile') 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 -- cgit