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

Side by Side Diff: test/dart2js/omits_source_map_in_release_test.dart

Issue 1282533003: Don't implicitly run "pub get". (Closed) Base URL: git@github.com:dart-lang/pub.git@master
Patch Set: Code review changes Created 5 years, 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS d.file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import '../descriptor.dart' as d; 5 import '../descriptor.dart' as d;
6 import '../test_pub.dart'; 6 import '../test_pub.dart';
7 7
8 main() { 8 main() {
9 integration("omits source maps from a release build", () { 9 integration("omits source maps from a release build", () {
10 d.dir(appPath, [ 10 d.dir(appPath, [
11 d.appPubspec(), 11 d.appPubspec(),
12 d.dir("web", [ 12 d.dir("web", [
13 d.file("main.dart", "void main() => print('hello');") 13 d.file("main.dart", "void main() => print('hello');")
14 ]) 14 ])
15 ]).create(); 15 ]).create();
16 16
17 pubGet();
17 schedulePub(args: ["build"], 18 schedulePub(args: ["build"],
18 output: new RegExp(r'Built 1 file to "build".'), 19 output: new RegExp(r'Built 1 file to "build".'),
19 exitCode: 0); 20 exitCode: 0);
20 21
21 d.dir(appPath, [ 22 d.dir(appPath, [
22 d.dir('build', [ 23 d.dir('build', [
23 d.dir('web', [ 24 d.dir('web', [
24 d.nothing('main.dart.js.map') 25 d.nothing('main.dart.js.map')
25 ]) 26 ])
26 ]) 27 ])
27 ]).validate(); 28 ]).validate();
28 }); 29 });
29 } 30 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698