aboutsummaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
Diffstat (limited to 'justfile')
-rw-r--r--justfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/justfile b/justfile
new file mode 100644
index 0000000..30b7c49
--- /dev/null
+++ b/justfile
@@ -0,0 +1,16 @@
+project := "umapyai"
+
+alias gen := generate
+alias fmt := format
+
+generate target="client":
+ rye run ariadne-codegen {{ target }}
+
+run *arguments:
+ rye run {{ project }} {{ arguments }}
+
+format:
+ rye run yapf src/{{ project }} --recursive --in-place --style yapf
+
+check:
+ rye run ruff check src/{{ project }}