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

Side by Side Diff: sdk/lib/_internal/pub_generated/test/build/copies_non_dart_files_to_build_test.dart

Issue 557563002: Store the async-await compiled pub code directly in the repo. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 3 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 import '../descriptor.dart' as d;
2 import '../test_pub.dart';
3 main() {
4 initConfig();
5 integration("copies non-Dart files to build/", () {
6 servePackages((builder) => builder.serve("browser", "1.0.0"));
7 d.dir(appPath, [d.appPubspec({
8 "browser": "1.0.0"
9 }),
10 d.dir(
11 'web',
12 [
13 d.file('file.txt', 'contents'),
14 d.dir('subdir', [d.file('subfile.txt', 'subcontents')])])]).cr eate();
15 schedulePub(
16 args: ["build"],
17 output: new RegExp(r'Built 2 files to "build".'));
18 d.dir(
19 appPath,
20 [
21 d.dir(
22 'build',
23 [
24 d.dir(
25 'web',
26 [
27 d.nothing('packages'),
28 d.file('file.txt', 'contents'),
29 d.dir('subdir', [d.file('subfile.txt', 'subcontents' )])])])]).validate();
30 });
31 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698