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

Unified Diff: sdk/lib/_internal/pub/test/build/includes_assets_from_dependencies_test.dart

Issue 135153012: Generate non-dart assets from “lib” into the build output. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Revise. 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 | « sdk/lib/_internal/pub/test/build/includes_assets_from_dependencies_in_lib_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/test/build/includes_assets_from_dependencies_test.dart
diff --git a/sdk/lib/_internal/pub/test/build/includes_assets_from_dependencies_test.dart b/sdk/lib/_internal/pub/test/build/includes_assets_from_dependencies_test.dart
index a5098b63eff6fe497211a4f7d44d4369ee3ae041..35bda64f8f3b4ff108974db676b877b82a15fa3f 100644
--- a/sdk/lib/_internal/pub/test/build/includes_assets_from_dependencies_test.dart
+++ b/sdk/lib/_internal/pub/test/build/includes_assets_from_dependencies_test.dart
@@ -34,11 +34,14 @@ main() {
]),
d.dir("web", [
d.file("index.html", "html"),
+ d.dir("sub", [
+ d.file("index.html", "html")
+ ])
])
]).create();
schedulePub(args: ["build", "--all"],
- output: new RegExp(r"Built 6 files!"));
+ output: new RegExp(r"Built 7 files!"));
d.dir(appPath, [
d.dir('build', [
@@ -62,6 +65,11 @@ main() {
d.file('bar.txt', 'bar'),
]),
])
+ ]),
+ d.dir("sub", [
+ d.file("index.html", "html"),
+ // "assets" should *only* be created in the top-level directory.
+ d.nothing("assets")
])
])
])
« no previous file with comments | « sdk/lib/_internal/pub/test/build/includes_assets_from_dependencies_in_lib_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698