From e8c3ceb7da397a32ef39deb39c3d21f8042fdaf2 Mon Sep 17 00:00:00 2001 From: Adam Barth Date: Thu, 23 Jul 2015 22:20:07 -0700 Subject: [PATCH] Create //sky/packages/workbench The workbench package exists to pull in pub packages from both pub.dartlang.org and from the source tree (using dependency overrides). The idea is that workbench will reflect a typical Sky developer's environment so that we can use the same tools as a typical sky developer by running them with the workbench as the cwd. --- sky/packages/workbench/.gitignore | 3 +++ sky/packages/workbench/README.md | 7 +++++++ sky/packages/workbench/pubspec.yaml | 20 ++++++++++++++++++++ sky/packages/workbench/sky | 1 + sky/sdk/pubspec.yaml | 2 +- 5 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 sky/packages/workbench/.gitignore create mode 100644 sky/packages/workbench/README.md create mode 100644 sky/packages/workbench/pubspec.yaml create mode 120000 sky/packages/workbench/sky diff --git a/sky/packages/workbench/.gitignore b/sky/packages/workbench/.gitignore new file mode 100644 index 00000000000..47c1956b86f --- /dev/null +++ b/sky/packages/workbench/.gitignore @@ -0,0 +1,3 @@ +.pub +packages +pubspec.lock diff --git a/sky/packages/workbench/README.md b/sky/packages/workbench/README.md new file mode 100644 index 00000000000..4c3f7e33080 --- /dev/null +++ b/sky/packages/workbench/README.md @@ -0,0 +1,7 @@ +Workbench +========= + +The workbench package is a synthetic package that lets us use `pub` to pull in +some packages from `pub.dartlang.org` and some packages from within the source +tree. The workbench package is intended to reflect a typical environment for +developing a Sky application. diff --git a/sky/packages/workbench/pubspec.yaml b/sky/packages/workbench/pubspec.yaml new file mode 100644 index 00000000000..f06d7d0ef32 --- /dev/null +++ b/sky/packages/workbench/pubspec.yaml @@ -0,0 +1,20 @@ +name: workbench +version: 0.0.1 +author: Chromium Authors +description: A workspace to host pub packages +homepage: https://github.com/domokit/sky_engine/tree/master/sky/packages/workbench +dependencies: + sky: any +dev_dependencies: + sky_tools: ^0.0.3 +dependency_overrides: + material_design_icons: + path: ../material_design_icons + sky: + path: ../../sdk + sky_engine: + path: ../../../out/Debug/gen/dart-pkg/sky_engine + sky_services: + path: ../../../out/Debug/gen/dart-pkg/sky_services +environment: + sdk: '>=1.8.0 <2.0.0' diff --git a/sky/packages/workbench/sky b/sky/packages/workbench/sky new file mode 120000 index 00000000000..c25bddb6dd4 --- /dev/null +++ b/sky/packages/workbench/sky @@ -0,0 +1 @@ +../.. \ No newline at end of file diff --git a/sky/sdk/pubspec.yaml b/sky/sdk/pubspec.yaml index db43cec57ac..45c8d64c783 100644 --- a/sky/sdk/pubspec.yaml +++ b/sky/sdk/pubspec.yaml @@ -12,7 +12,7 @@ dependencies: newton: ^0.1.0 sky_engine: ^0.0.1 sky_services: ^0.0.1 - sky_tools: ^0.0.2 + sky_tools: ^0.0.3 vector_math: ^1.4.3 environment: sdk: '>=1.8.0 <2.0.0'