summaryrefslogtreecommitdiff
path: root/Magefile.go
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-23 09:39:50 +0300
committerPaul Buetow <paul@buetow.org>2026-04-23 09:39:50 +0300
commitb831b6bff98ceb4fbe992640a857d27501763b40 (patch)
tree5f64402a4592e47dbe40a62d596c2da637162e4c /Magefile.go
parent1834c8886b15aa3b868e988c185ac5c344392886 (diff)
Add new style families and regenerate style/theme montage.
This adds pulp, mecha, pixel-art, ink-wash, and clay style pools across config defaults, style selection, and CLI/runner wiring, and extends tests to cover the new modes. It also updates the stylegrid tooling/docs and regenerates the all-styles-and-themes reference image with labeled examples. Made-with: Cursor
Diffstat (limited to 'Magefile.go')
-rw-r--r--Magefile.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/Magefile.go b/Magefile.go
index edb7ba3..34bad57 100644
--- a/Magefile.go
+++ b/Magefile.go
@@ -48,6 +48,11 @@ func Clean() error {
return sh.RunV("rm", "-f", binaryName)
}
+// Stylegrid renders stylegrid.png (all style lines + story genres from config) via Gemini; requires ImageMagick montage.
+func Stylegrid() error {
+ return sh.RunV("go", "run", "./cmd/stylegrid", "--output", "stylegrid.png")
+}
+
func resolveGOPATH() (string, error) {
if gopath := os.Getenv("GOPATH"); gopath != "" {
return gopath, nil