summaryrefslogtreecommitdiff
path: root/magefile.go
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-03-10 11:06:36 -0600
committermo khan <mo@mokhan.ca>2025-03-10 11:06:36 -0600
commit5083ab853bd9c619fe750fdd6e2b3f22ab9e98dd (patch)
tree521e7b8f2d6487c89da9adae7043c365c616528f /magefile.go
parent498fbcab97b2c8edc6baa97c7995e1f8d25b4573 (diff)
chore: add a test target
Diffstat (limited to 'magefile.go')
-rw-r--r--magefile.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/magefile.go b/magefile.go
index 334f6586..9272dd4d 100644
--- a/magefile.go
+++ b/magefile.go
@@ -88,3 +88,7 @@ func Protos() error {
func Run(ctx context.Context) {
mg.CtxDeps(ctx, Idp, UI, Api, Gateway)
}
+
+func Test(ctx context.Context) error {
+ return sh.RunV("go", "test", "-v", "./...")
+}