Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Aug 27, 2024
1 parent 981e445 commit e373a32
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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: \
Expand Down

0 comments on commit e373a32

Please sign in to comment.