chore: move StaticReflector into compiler_cli, part 2

Adjust tests and build to run the unit tests again
after the move.
Closes #8363
This commit is contained in:
Tobias Bosch
2016-04-30 12:27:37 -07:00
parent ab56be46e1
commit 9e05814212
5 changed files with 359 additions and 382 deletions

View File

@ -1060,11 +1060,15 @@ gulp.task('!test.compiler_cli.codegen', function(done) {
}
});
gulp.task('!test.compiler_cli.unit',
function(done) { runJasmineTests(['dist/js/cjs/compiler_cli/**/*_spec.js'], done) });
// End-to-end test for compiler CLI.
// Calls the compiler using its command-line interface, then compiles the app with the codegen.
// TODO(alexeagle): wire up the playground tests with offline compilation, similar to dart.
gulp.task('test.compiler_cli', ['!build.compiler_cli'],
function(done) { runSequence('!test.compiler_cli.codegen', sequenceComplete(done)); });
gulp.task('test.compiler_cli', ['!build.compiler_cli'], function(done) {
runSequence('!test.compiler_cli.unit', '!test.compiler_cli.codegen', sequenceComplete(done));
});
// -----------------
// orchestrated targets