From 35a4f2467581d4e308486f0eb27c9bcf8d1525e4 Mon Sep 17 00:00:00 2001 From: Jonni Liljamo Date: Wed, 9 Oct 2024 13:19:36 +0300 Subject: [PATCH] feat: justfile and include a few tools in devshell --- flake.nix | 9 +++++++++ justfile | 6 ++++++ 2 files changed, 15 insertions(+) create mode 100644 justfile diff --git a/flake.nix b/flake.nix index d36f509..64c7d01 100644 --- a/flake.nix +++ b/flake.nix @@ -49,6 +49,10 @@ devshells.default = { env = [ + { + name = "FELU_LOG_LEVEL"; + value = "debug"; + } { name = "GIN_MODE"; value = "release"; @@ -92,6 +96,11 @@ tailwindcss tailwindcss-language-server + + just + + bind + dig ] ++ [ inputs.templ.packages.${system}.default diff --git a/justfile b/justfile new file mode 100644 index 0000000..3cc9c5e --- /dev/null +++ b/justfile @@ -0,0 +1,6 @@ +_default: + just --list + +staging-build-and-push: + podman build -t liljamo/felu:staging . --build-arg VERSION=staging + podman push liljamo/felu:staging -- 2.44.1