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 .
This commit is contained in:
John McCutchan 2015-07-09 06:49:45 -07:00
parent e0d06791ef
commit f8e38784f2
3 changed files with 2 additions and 2 deletions

View File

@ -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",

View File

@ -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