Fix the serve-precommit target.
When the plovr-jar is being invoked in the serve-precommit target, it needs the JSON files in `test/` as well to have all requirements for headless testing. This should also reenable running the testsuite on our continuous integration server.
This commit is contained in:
2
build.py
2
build.py
@@ -193,7 +193,7 @@ def serve(t):
|
||||
|
||||
@target('serve-precommit', PLOVR_JAR, INTERNAL_SRC)
|
||||
def serve_precommit(t):
|
||||
t.run('%(JAVA)s', '-jar', PLOVR_JAR, 'serve', 'build/ol-all.json')
|
||||
t.run('%(JAVA)s', '-jar', PLOVR_JAR, 'serve', 'build/ol-all.json', glob.glob('test/*.json'))
|
||||
|
||||
|
||||
virtual('lint', 'build/lint-src-timestamp', 'build/lint-spec-timestamp', 'build/check-requires-timestamp')
|
||||
|
||||
Reference in New Issue
Block a user