about summary refs log tree commit diff
path: root/Taskfile.yml
diff options
context:
space:
mode:
Diffstat (limited to 'Taskfile.yml')
-rw-r--r--Taskfile.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/Taskfile.yml b/Taskfile.yml
index c8c7960..9c3e6d3 100644
--- a/Taskfile.yml
+++ b/Taskfile.yml
@@ -13,3 +13,13 @@ tasks:
     deps: [build]
     cmds:
       - build/bot
+
+  test:
+    desc: "Tests all packages."
+    cmds:
+      - go test ./... -timeout=1s
+
+  generate-mocks:
+    desc: "Generates mocks for given pkg/."
+    cmds:
+      - mockery --all --case snake --srcpkg jinx/pkg/{{.CLI_ARGS}} --output pkg/{{.CLI_ARGS}}/mocks