diff options
| author | mo khan <mo@mokhan.ca> | 2025-03-27 13:49:59 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-03-27 13:49:59 -0600 |
| commit | 3aa60cb4acc7201beb83b6a0ff61eafd9fcdcffe (patch) | |
| tree | ebd5d062ba1a842f8a846a5fd858d50488d6e34d /magefile.go | |
| parent | ce31ca617a318ab1a035f2693c576b512b067efa (diff) | |
chore: extract list of files to convert via dot
Diffstat (limited to 'magefile.go')
| -rw-r--r-- | magefile.go | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/magefile.go b/magefile.go index fba423f2..eaedbc6a 100644 --- a/magefile.go +++ b/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 |
