OLD | NEW |
| (Empty) |
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 | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 import '../descriptor.dart' as d; | |
6 import '../test_pub.dart'; | |
7 | |
8 main() { | |
9 initConfig(); | |
10 integration("omits source maps from a release build", () { | |
11 d.dir( | |
12 appPath, | |
13 [ | |
14 d.appPubspec(), | |
15 d.dir( | |
16 "web", | |
17 [d.file("main.dart", "void main() => print('hello');")])]).creat
e(); | |
18 | |
19 schedulePub( | |
20 args: ["build"], | |
21 output: new RegExp(r'Built 1 file to "build".'), | |
22 exitCode: 0); | |
23 | |
24 d.dir( | |
25 appPath, | |
26 [d.dir('build', [d.dir('web', [d.nothing('main.dart.js.map')])])]).valid
ate(); | |
27 }); | |
28 } | |
OLD | NEW |