summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--flake.nix2
-rw-r--r--justfile18
2 files changed, 20 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix
index b9c103e..df5bdb1 100644
--- a/flake.nix
+++ b/flake.nix
@@ -43,6 +43,8 @@
packages = with pkgs; [
alejandra
deno
+ fzf
+ just
nodePackages.prettier
];
};
diff --git a/justfile b/justfile
new file mode 100644
index 0000000..11ed04e
--- /dev/null
+++ b/justfile
@@ -0,0 +1,18 @@
+alias s := serve
+alias d := deps
+alias f := fmt
+
+serve:
+ deno task serve
+
+deps:
+ deno cache --config deno.json --lock deno.lock _config.ts
+
+[macos]
+[windows]
+fmt:
+ prettier --editorconfig -w .
+
+[linux]
+fmt:
+ prettier --editorconfig -w . && alejandra .