diff options
| author | seth <[email protected]> | 2023-03-30 21:48:02 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-03-30 21:48:02 -0400 |
| commit | 055ef1c191fbd2a61adfcc0ae42dc43b1d59f8b0 (patch) | |
| tree | 99683ad8e60a257e99ec40c83d931e8fb37cd91d | |
| parent | f8eabb418531b52239d6d978c01cc542ce0d9d66 (diff) | |
add justfile
| -rw-r--r-- | flake.nix | 2 | ||||
| -rw-r--r-- | justfile | 18 |
2 files changed, 20 insertions, 0 deletions
@@ -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 . |
