From 8adac5332a0e97ef8877e4110acb365bc2dded38 Mon Sep 17 00:00:00 2001 From: Tobias Bosch Date: Mon, 2 Mar 2015 15:54:02 -0800 Subject: [PATCH] fix(benchmarks): prepare publish to pub --- modules/benchmarks/pubspec.yaml | 17 +++++++++++++---- scripts/publish/pub_publish.sh | 1 + 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/modules/benchmarks/pubspec.yaml b/modules/benchmarks/pubspec.yaml index f07364e075..172e093931 100644 --- a/modules/benchmarks/pubspec.yaml +++ b/modules/benchmarks/pubspec.yaml @@ -1,11 +1,20 @@ -name: benchmarks +name: angular2_benchmarks +version: <%= packageJson.version %> +authors: +<%= Object.keys(packageJson.contributors).map(function(name) { + return '- '+name+' <'+packageJson.contributors[name]+'>'; +}).join('\n') %> +description: Angular2 benchmarks +homepage: <%= packageJson.homepage %> environment: - sdk: '>=1.4.0' + sdk: '>=1.9.0-dev.8.0' dependencies: + angular2: '^<%= packageJson.version %>' + browser: '>=0.10.0 <0.11.0' +dependency_overrides: angular2: path: ../angular2 - browser: '>=0.10.0 <0.11.0' transformers: - $dart2js: -# minify: false + minify: false commandLineOptions: ['--dump-info', '--trust-type-annotations', '--trust-primitives'] diff --git a/scripts/publish/pub_publish.sh b/scripts/publish/pub_publish.sh index f0bb91a388..b6492c2471 100755 --- a/scripts/publish/pub_publish.sh +++ b/scripts/publish/pub_publish.sh @@ -31,3 +31,4 @@ function publishModule { publishModule angular2 publishModule benchpress +publishModule benchmarks