From e373a3251c8a08d43aadb49354564f6a702e48a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Tue, 27 Aug 2024 14:47:09 +0200 Subject: [PATCH] f --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 494e3ddb4c8f..356d4780d42f 100644 --- a/Makefile +++ b/Makefile @@ -286,13 +286,14 @@ contribs/dist: .build/build-dll.timestamp python3 -m http.server 3001 & touch $@ +# Add --generate as argument to buildtools/check-example to regenerate the reference images .build/%.check.timestamp: .build/examples-ngeo.timestamp \ .build/node_modules.timestamp \ .build/httpserver.timestamp mkdir -p $(dir $@) CI=true LANGUAGE=en_US buildtools/retry node buildtools/check-example.js \ .build/examples-hosted/$*.html - buildtools/check-example --generate .build/examples-hosted/$*.html.png examples/$*-ref.png + buildtools/check-example .build/examples-hosted/$*.html.png examples/$*-ref.png touch $@ .build/error.check.timestamp: .build/examples-ngeo.timestamp \ @@ -304,21 +305,23 @@ contribs/dist: .build/build-dll.timestamp ! buildtools/check-example .build/examples-hosted/error.html.png examples/error-ref.png touch $@ +# Add --generate as argument to buildtools/check-example to regenerate the reference images .build/contribs/gmf/%.check.timestamp: .build/examples-gmf.timestamp \ .build/node_modules.timestamp \ .build/httpserver.timestamp mkdir -p $(dir $@) CI=true LANGUAGE=en_US buildtools/retry node buildtools/check-example.js \ .build/examples-hosted/contribs/gmf/$*.html - buildtools/check-example --generate .build/examples-hosted/contribs/gmf/$*.html.png contribs/gmf/examples/$*-ref.png + buildtools/check-example .build/examples-hosted/contribs/gmf/$*.html.png contribs/gmf/examples/$*-ref.png touch $@ +# Add --generate as argument to buildtools/check-example to regenerate the reference images .build/contribs/gmf/apps/%.check.timestamp: .build/gmf-apps.timestamp \ .build/httpserver.timestamp mkdir -p $(dir $@) CI=true LANGUAGE=en_US buildtools/retry node buildtools/check-example.js \ .build/examples-hosted/contribs/gmf/apps/$*.html - buildtools/check-example --generate .build/examples-hosted/contribs/gmf/apps/$*.html.png contribs/gmf/apps/$*-ref.png + buildtools/check-example .build/examples-hosted/contribs/gmf/apps/$*.html.png contribs/gmf/apps/$*-ref.png touch $@ .build/test-check-example/%.check.timestamp: \