Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Check the examples against whitespace build first

This is to produce stack traces that are easier to understand when an example fails to load.
  • Loading branch information...
commit a0ba80bcbb5f8c6973162ab56b7b9d05fdbfa281 1 parent 382022b
@elemoine elemoine authored tschaub committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 build.py
View
4 build.py
@@ -384,9 +384,9 @@ def hostexamples(t):
def check_examples(t):
directory = 'build/gh-pages/%(BRANCH)s/'
examples = ['build/gh-pages/%(BRANCH)s/' + e for e in EXAMPLES]
- all_examples = examples + \
+ all_examples = [e + '?mode=whitespace' for e in examples] + \
[e + '?mode=simple' for e in examples] + \
- [e + '?mode=whitespace' for e in examples]
+ examples
for example in all_examples:
t.run('%(PHANTOMJS)s', 'bin/check-example.js', example)
Please sign in to comment.
Something went wrong with that request. Please try again.