about summary refs log tree commit diff
path: root/Taskfile.yml
diff options
context:
space:
mode:
authorMel <einebeere@gmail.com>2022-08-11 01:26:09 +0000
committerMel <einebeere@gmail.com>2022-08-11 01:26:09 +0000
commit8193e5c590177b91b51acd818e8a365ab6845988 (patch)
tree24716cf6ff5fbc9b34dca416350f93da90a6ed21 /Taskfile.yml
parent86f31acf6789be116dcc54ed85b069a37c0f7aa8 (diff)
downloadjinx-8193e5c590177b91b51acd818e8a365ab6845988.tar.zst
jinx-8193e5c590177b91b51acd818e8a365ab6845988.zip
Add compmod tool to compile built-in modules
Diffstat (limited to 'Taskfile.yml')
-rw-r--r--Taskfile.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/Taskfile.yml b/Taskfile.yml
index 56e26f3..a8fc876 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -9,6 +9,7 @@ tasks:
       - go build -o build/bot jinx/cmd/bot
       - go build -o build/vm jinx/cmd/vm
       - go build -o build/lang jinx/cmd/lang
+      - go build -o build/compmod jinx/cmd/compmod
 
   run:
     desc: "Runs Jinx bot binary."
@@ -28,6 +29,12 @@ tasks:
     cmds:
       - build/lang {{.CLI_ARGS}}
 
+  run-compmod:
+    desc: "Runs built-in module compiler."
+    deps: [build]
+    cmds:
+      - build/compmod {{.CLI_ARGS}}
+
   test:
     desc: "Tests all packages."
     cmds: