summaryrefslogtreecommitdiff
path: root/magefile.go
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2024-06-05 11:52:45 -0600
committermo khan <mo@mokhan.ca>2024-06-05 11:52:45 -0600
commit9af47f2e4fc60a12335bf500a8e970b2be28db0a (patch)
tree6414b05f691d54b6e1e890ebd6cf736eec15dcdc /magefile.go
parent9148e34fe2bc7b7d2c5e69b77784928d19e3a139 (diff)
Add run target to magefile
Diffstat (limited to 'magefile.go')
-rw-r--r--magefile.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/magefile.go b/magefile.go
index 7831703..c7ead27 100644
--- a/magefile.go
+++ b/magefile.go
@@ -15,3 +15,8 @@ var Default = Test
func Test() error {
return sh.RunV("go", "test", "-v", "./...")
}
+
+// Run the stanuki CLI
+func Run() error {
+ return sh.RunV("go", "run", "./cmd/stanuki")
+}