summaryrefslogtreecommitdiff
path: root/magefile.go
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-03-17 13:59:19 -0600
committermo khan <mo@mokhan.ca>2025-03-17 13:59:19 -0600
commitf9168083b787118af5577015a3c7f9efa63c8e80 (patch)
treedb1b638972998b80555e31dbade60c69e0a30d91 /magefile.go
parentd981d42202701b3bcd39399cb7f06e0825dff06d (diff)
docs: read more papers from Dr. Philip W.L. Fong
Diffstat (limited to 'magefile.go')
-rw-r--r--magefile.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/magefile.go b/magefile.go
index ec6dac1..fba423f 100644
--- a/magefile.go
+++ b/magefile.go
@@ -85,3 +85,12 @@ func Test(ctx context.Context) error {
})
return sh.RunV("go", "test", "-shuffle=on", "-v", "./...")
}
+
+func Graphviz() error {
+ return sh.RunV("dot", "-Tpng", "-O", "doc/share/authz/sns.dot")
+}
+
+// Generate documentation
+func Docs(ctx context.Context) {
+ mg.CtxDeps(ctx, Graphviz)
+}