Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Unified Diff: pkg/polymer/lib/deploy.dart

Issue 179163007: [polymer] skip linter in tests (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pkg/polymer/lib/src/build/common.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/lib/deploy.dart
diff --git a/pkg/polymer/lib/deploy.dart b/pkg/polymer/lib/deploy.dart
index 5fe199ddfd7c6b404a492e5da35719714944ea32..8e5f724d10e8204eca85042c7b324d6d759c4dd0 100644
--- a/pkg/polymer/lib/deploy.dart
+++ b/pkg/polymer/lib/deploy.dart
@@ -64,6 +64,7 @@ createDeployPhases(options) => new PolymerTransformerGroup(options).phases;
BarbackOptions _createTestOptions(String testFile, String outDir,
bool directlyIncludeJS, bool contentSecurityPolicy, bool releaseMode) {
+
var testDir = path.normalize(path.dirname(testFile));
// A test must be allowed to import things in the package.
@@ -85,7 +86,8 @@ BarbackOptions _createTestOptions(String testFile, String outDir,
entryPoints: [path.relative(testFile, from: pubspecDir)],
directlyIncludeJS: directlyIncludeJS,
contentSecurityPolicy: contentSecurityPolicy,
- releaseMode: releaseMode));
+ releaseMode: releaseMode,
+ lint: false));
return new BarbackOptions(phases, outDir,
currentPackage: packageName,
packageDirs: {
« no previous file with comments | « no previous file | pkg/polymer/lib/src/build/common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698