aboutsummaryrefslogtreecommitdiff
path: root/Koifile
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-01-06 01:33:01 -0800
committerFuwn <[email protected]>2024-01-06 01:33:01 -0800
commit4bf77f046b32270b4e010c599a2e3c8c750dc8be (patch)
treeead02ad504bec5779631601a0d9acb0feef24807 /Koifile
parentchore(git): ignore vite timestamp files (diff)
downloaddue.moe-4bf77f046b32270b4e010c599a2e3c8c750dc8be.tar.xz
due.moe-4bf77f046b32270b4e010c599a2e3c8c750dc8be.zip
build(koi): task runner
Diffstat (limited to 'Koifile')
-rw-r--r--Koifile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Koifile b/Koifile
new file mode 100644
index 00000000..9aa9c1fc
--- /dev/null
+++ b/Koifile
@@ -0,0 +1,10 @@
+#!/usr/bin/env koi
+
+if args.len() > 0 {
+ if args[0] == 'dev' {
+ bun run dev --host
+ } else {
+ bun --bun run {args[0]}
+ }
+}
+