From d5578bbeafaafda50e2c11d4881fae709d647283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Sat, 11 Jun 2022 12:02:46 +0200 Subject: [PATCH] add just tasks --- justfile | 14 ++++++++++++++ shell.nix | 1 + 2 files changed, 15 insertions(+) create mode 100644 justfile diff --git a/justfile b/justfile new file mode 100644 index 0000000..98d282a --- /dev/null +++ b/justfile @@ -0,0 +1,14 @@ +default: + @just --list + +# Format and lint project +fmt: + treefmt + +# Build the project +build: + go build . + +# Run unitests +test: + pytest -s ./tests diff --git a/shell.nix b/shell.nix index 4ab45ce..cd5fc83 100644 --- a/shell.nix +++ b/shell.nix @@ -15,5 +15,6 @@ with pkgs; hivemind go treefmt + just ]; }