From f8e38784f2d02148685ee3eb4d801ef67e36d55c Mon Sep 17 00:00:00 2001 From: John McCutchan Date: Thu, 9 Jul 2015 06:49:45 -0700 Subject: [PATCH] Rename .sdkext to _sdkext and fix sky_tool - Pub doesn't publish dot files (who knew?!) - sky_tool was referencing a variable that doesn't exist R=abarth@chromium.org Review URL: https://codereview.chromium.org/1223173003 . --- sdk/BUILD.gn | 2 +- sdk/lib/{.sdkext => _sdkext} | 0 sdk/lib/sky_tool | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename sdk/lib/{.sdkext => _sdkext} (100%) diff --git a/sdk/BUILD.gn b/sdk/BUILD.gn index e571a2bbc84..f742a8b23c9 100644 --- a/sdk/BUILD.gn +++ b/sdk/BUILD.gn @@ -8,7 +8,7 @@ dart_pkg("sky") { sources = [ "CHANGELOG.md", "bin/init.dart", - "lib/.sdkext", + "lib/_sdkext", "lib/animation/animated_value.dart", "lib/animation/animation_performance.dart", "lib/animation/curves.dart", diff --git a/sdk/lib/.sdkext b/sdk/lib/_sdkext similarity index 100% rename from sdk/lib/.sdkext rename to sdk/lib/_sdkext diff --git a/sdk/lib/sky_tool b/sdk/lib/sky_tool index a9a3bacb1fb..e57159c45be 100755 --- a/sdk/lib/sky_tool +++ b/sdk/lib/sky_tool @@ -135,7 +135,7 @@ class StartSky(object): if os.path.isdir(project_or_path): sky_server_root = project_or_path main_dart = os.path.join(project_or_path, 'lib', 'main.dart') - missing_msg = "Missing lib/main.dart in project: %s" % project_dir + missing_msg = "Missing lib/main.dart in project: %s" % project_or_path else: # FIXME: This assumes the path is at the root of the project! # Instead we should walk up looking for a pubspec.yaml