Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add --nobuild flag #4718

Merged
merged 2 commits into from
Feb 15, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions tests/e2e/setup/010-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ const packages = require('../../../lib/packages');
export default function() {
const argv = getGlobalVariable('argv');

if (argv.nobuild) {
return;
}

return npm('run', 'build')
.then(() => console.log('Updating package.json from dist...'))
.then(() => Promise.all(Object.keys(packages).map(pkgName => {
Expand Down
2 changes: 2 additions & 0 deletions tests/e2e_runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ Error.stackTraceLimit = Infinity;
* Here's a short description of those flags:
* --debug If a test fails, block the thread so the temporary directory isn't deleted.
* --noproject Skip creating a project or using one.
* --nobuild Skip building the packages. Use with --nolink and --reuse to quickly
* rerun tests.
* --nolink Skip linking your local @angular/cli directory. Can save a few seconds.
* --ng-sha=SHA Use a specific ng-sha. Similar to nightly but point to a master SHA instead
* of using the latest.
Expand Down