diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-09 07:55:56 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-09 07:55:56 -0500 |
| commit | ce3f50e09518367e5d69b304e305e7fe7ed2298c (patch) | |
| tree | 32a57cb28c37242dacfc7af96f87400d9151396c | |
| parent | b6b5a9b7cf95030c767ec618e0cd2df73783a21b (diff) | |
| download | dotemacs-ce3f50e09518367e5d69b304e305e7fe7ed2298c.tar.gz dotemacs-ce3f50e09518367e5d69b304e305e7fe7ed2298c.zip | |
build(theme-studio): expose every theme-studio target from the root
Only test and coverage delegated from the root; check, gen, and open were local-only, so `make theme-studio-open` didn't exist. Added the missing delegations so the whole family is reachable from the root with the theme-studio- prefix, matching the convention. gen and open forward SEED through to the sub-make for viewing a specific palette. Grouped them under their own heading in `make help`.
| -rw-r--r-- | Makefile | 21 |
1 files changed, 18 insertions, 3 deletions
@@ -46,7 +46,8 @@ EMACS_TEST = $(EMACS_BATCH) -L $(TEST_DIR) -L $(MODULE_DIR) # No colors - using plain text symbols instead .PHONY: help targets test test-all test-unit test-integration test-file test-name \ - test-bash theme-studio-test theme-studio-coverage benchmark coverage coverage-summary coverage-clean \ + test-bash theme-studio-test theme-studio-check theme-studio-coverage theme-studio-gen theme-studio-open \ + benchmark coverage coverage-summary coverage-clean \ validate-parens validate-modules compile compile-file lint profile \ clean clean-compiled clean-tests reset @@ -66,10 +67,15 @@ help: @echo " make test-file FILE=<filename> - Run specific test file" @echo " make test-name TEST=<pattern> - Run tests matching pattern" @echo " make test-bash - Run the bats shell-script tests ($(words $(BASH_TESTS)) files)" - @echo " make theme-studio-test - Run the theme-studio tool tests (Python + Node + browser)" - @echo " make theme-studio-coverage - Coverage for the theme-studio JS + generate.py" @echo " make benchmark - Run performance benchmarks (:perf-tagged)" @echo "" + @echo " theme-studio (delegates to scripts/theme-studio/Makefile):" + @echo " make theme-studio-test - Full suite (Python + Node + browser gates)" + @echo " make theme-studio-check - Fast gate (regenerate + Python + Node, no browser)" + @echo " make theme-studio-coverage - JS + generate.py coverage numbers" + @echo " make theme-studio-gen - Regenerate theme-studio.html (SEED=x.json optional)" + @echo " make theme-studio-open - Regenerate and open the page in Chrome" + @echo "" @echo " Coverage:" @echo " make coverage - Generate simplecov JSON and summarize modules" @echo " make coverage-summary - Summarize existing coverage by module" @@ -126,9 +132,18 @@ test-bash: theme-studio-test: @$(MAKE) -C scripts/theme-studio test +theme-studio-check: + @$(MAKE) -C scripts/theme-studio check + theme-studio-coverage: @$(MAKE) -C scripts/theme-studio coverage +theme-studio-gen: + @$(MAKE) -C scripts/theme-studio gen SEED='$(SEED)' + +theme-studio-open: + @$(MAKE) -C scripts/theme-studio open SEED='$(SEED)' + BANNER = ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ # Run the .el test files in $(1), each in its own Emacs, with :slow and :perf |
