Refactor common example script and run the linter on it

This commit is contained in:
Tim Schaub
2015-04-17 09:40:03 -06:00
parent f2600977ae
commit eff14b06e0
2 changed files with 32 additions and 36 deletions

View File

@@ -417,7 +417,7 @@ def build_lint_src_timestamp(t):
virtual('jshint', 'build/jshint-timestamp')
@target('build/jshint-timestamp', SRC, EXAMPLES_SRC_JS, SPEC, SPEC_RENDERING,
TASKS, NPM_INSTALL, precious=True)
'examples/resources/common.js', TASKS, NPM_INSTALL, precious=True)
def build_jshint_timestamp(t):
t.run(variables.JSHINT, '--verbose', t.newer(t.dependencies))
t.touch()