summaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorseth <[email protected]>2023-03-30 21:48:02 -0400
committerseth <[email protected]>2023-03-30 21:48:02 -0400
commit055ef1c191fbd2a61adfcc0ae42dc43b1d59f8b0 (patch)
tree99683ad8e60a257e99ec40c83d931e8fb37cd91d /justfile
parentf8eabb418531b52239d6d978c01cc542ce0d9d66 (diff)
add justfile
Diffstat (limited to 'justfile')
-rw-r--r--justfile18
1 files changed, 18 insertions, 0 deletions
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 .