Commit 3aa60cb
Changed files (1)
magefile.go
@@ -87,7 +87,16 @@ func Test(ctx context.Context) error {
}
func Graphviz() error {
- return sh.RunV("dot", "-Tpng", "-O", "doc/share/authz/sns.dot")
+ files := []string{
+ "doc/share/authz/sns.dot",
+ }
+ for _, file := range files {
+ if err := sh.RunV("dot", "-Tpng", "-O", file); err != nil {
+ return err
+ }
+ }
+
+ return nil
}
// Generate documentation