index : gitrs
A lightweight web interface for browsing Git repositories, implemented in Rust
about summary refs log tree commit diff

Diffstat (limited to 'justfile')

-rw-r--r-- justfile 29
 1 file changed, 29 insertions(+)

diff --git a/justfile b/justfile
new file mode 100644
index 0000000..1ab7c49 100644
--- /dev/null
+++ b/justfile
@@ -1,0 +1,29 @@
build mode="":
  cargo build --{{mode}}

run:
  cargo run

debug argument="":
  @GIT_LOG=trace cargo run -- {{argument}}
  @bat ~/.cache/nmrs-tui/nmrs-tui.log

check:
  cargo check

package:
  cargo package

publish:
  cargo publish

release level="patch":
  cargo release {{level}} --execute

fmt:
    cargo fmt --all

lint:
    cargo clippy --all-targets --all-features -- -D warnings

ci: fmt lint