From f9c959b2d8e36460395a425a51d480fac635c5ec Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Tue, 5 Nov 2024 19:05:05 -0300 Subject: Include src/content/images.js in the repository --- Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 11547c6..c171796 100644 --- a/Makefile +++ b/Makefile @@ -49,7 +49,7 @@ contents = \ derived-assets = \ - src/content/images.js \ + src/content/images.js.next \ src/content/papo.exported.js \ src/content/sw.exported.js \ @@ -61,8 +61,9 @@ side-assets = \ ## and installation. all: $(derived-assets) -src/content/images.js: Makefile deps.mk - printf 'const IMG_PATHS = [\n' > $@ + +src/content/images.js.next: Makefile deps.mk + printf 'const IMG_PATHS = [\n' > $@ printf '\t"%s",\n' $(img.svg) >> $@ printf '];\n' >> $@ @@ -76,6 +77,10 @@ src/content/papo.exported.js src/content/sw.exported.js: +.PRECIOUS: src/content/images.js +src/content/images.js: ALWAYS src/content/images.js.next + diff -U10 $@ $*.js.next + .SUFFIXES: .js-check tests/papo.js-check: src/content/papo.exported.js tests/sw.js-check: src/content/sw.exported.js @@ -83,6 +88,7 @@ tests/papo.js-check tests/sw.js-check: node tests/node-driver.js $*.js check-unit: tests/papo.js-check tests/sw.js-check +check-unit: src/content/images.js integration-tests = \ -- cgit v1.2.3