aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 00000000..c37d7541
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,20 @@
+MAKEFLAGS += --always-make
+
+format:
+ bunx prettier . --write && bunx eslint .
+
+prisma:
+ cd db; \
+ bunx prisma migrate dev; \
+ bunx prisma generate
+
+worker:
+ cd crawler; \
+ bun --watch index.ts
+web:
+ cd web; \
+ bun run dev
+
+studio:
+ cd db; \
+ bunx prisma studio