terrastruct / ci

Terrastruct's shared CI
ISC License
6 stars 1 forks source link

fmt.sh: Render all d2 diagrams automatically #22

Closed nhooyr closed 1 year ago

nhooyr commented 1 year ago

Closes #1

nhooyr commented 1 year ago

Maybe we should have a separate gen.sh? This doesn't really seem like something that belongs in fmt. go mod tidy and package.json too are more gen. likewise with mdtocsubst

nhooyr commented 1 year ago

where does it gen to?

The default, just the same file name but as .svg

nhooyr commented 1 year ago

Oh noo, I should actually make this instead just d2 fmt for now.