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

Side by Side Diff: packages/dart_style/test/regression/other/pub.stmt

Issue 1400473008: Roll Observatory packages and add a roll script (Closed) Base URL: git@github.com:dart-lang/observatory_pub_packages.git@master
Patch Set: Created 5 years, 2 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
(Empty)
1 >>> (indent 6)
2 builder.serve("foo", "1.2.3",
3 deps: {'barback': 'any'},
4 pubspec: {'transformers': ['foo']},
5 contents: [
6 d.dir("lib", [
7 d.file("transformer.dart", replaceTransformer("Hello", "Goodbye")),
8 d.file("foo.dart", "final message = 'Hello!';")
9 ])
10 ]);
11 <<<
12 builder.serve("foo", "1.2.3", deps: {
13 'barback': 'any'
14 }, pubspec: {
15 'transformers': ['foo']
16 }, contents: [
17 d.dir("lib", [
18 d.file("transformer.dart", replaceTransformer("Hello", "Goodbye")),
19 d.file("foo.dart", "final message = 'Hello!';")
20 ])
21 ]);
22 >>> (indent 4) was slow
23 d.dir(appPath, [
24 d.dir('build', [
25 d.dir('example', [
26 d.file("index.html", "html"),
27 d.dir('packages', [
28 d.dir('foo', [
29 d.file('foo.txt', 'foo'),
30 d.dir('sub', [
31 d.file('bar.txt', 'bar'),
32 ]),
33 ])
34 ])
35 ]),
36 d.dir('web', [
37 d.file("index.html", "html"),
38 d.dir('packages', [
39 d.dir('foo', [
40 d.file('foo.txt', 'foo'),
41 d.dir('sub', [
42 d.file('bar.txt', 'bar'),
43 ]),
44 ])
45 ]),
46 d.dir("sub", [
47 d.file("index.html", "html"),
48 // "packages" should *only* be created in the top-level directory.
49 d.nothing("packages")
50 ])
51 ])
52 ])
53 ]).validate();
54 <<<
55 d.dir(appPath, [
56 d.dir('build', [
57 d.dir('example', [
58 d.file("index.html", "html"),
59 d.dir('packages', [
60 d.dir('foo', [
61 d.file('foo.txt', 'foo'),
62 d.dir('sub', [d.file('bar.txt', 'bar'),]),
63 ])
64 ])
65 ]),
66 d.dir('web', [
67 d.file("index.html", "html"),
68 d.dir('packages', [
69 d.dir('foo', [
70 d.file('foo.txt', 'foo'),
71 d.dir('sub', [d.file('bar.txt', 'bar'),]),
72 ])
73 ]),
74 d.dir("sub", [
75 d.file("index.html", "html"),
76 // "packages" should *only* be created in the top-level directory.
77 d.nothing("packages")
78 ])
79 ])
80 ])
81 ]).validate();
OLDNEW
« no previous file with comments | « packages/dart_style/test/regression/other/dart2js.unit ('k') | packages/dart_style/test/selections/._selections.stmt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698