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

Unified Diff: pkg/dev_compiler/tool/build_pkgs.sh

Issue 2465923003: Test packages with ddc on travis (Closed)
Patch Set: Created 4 years, 1 month 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 | « DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/dev_compiler/tool/build_pkgs.sh
diff --git a/pkg/dev_compiler/tool/build_pkgs.sh b/pkg/dev_compiler/tool/build_pkgs.sh
new file mode 100755
index 0000000000000000000000000000000000000000..ac64279286f6fd8b1f457230632083c04ae67781
--- /dev/null
+++ b/pkg/dev_compiler/tool/build_pkgs.sh
@@ -0,0 +1,92 @@
+#!/bin/bash
+set -e # bail on error
+
+cd $( dirname "${BASH_SOURCE[0]}" )/..
+
+mkdir -p gen/codegen_output/pkg/
+
+SDK=--dart-sdk-summary=lib/js/amd/dart_sdk.sum
+
+# Build leaf packages. These have no other package dependencies.
+
+# Under pkg
Jennifer Messerly 2016/10/31 23:35:51 should we just enumerate the directory? instead of
vsm 2016/11/01 18:21:42 I'm thinking a better way to do this would be to a
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/async_helper.js \
+ package:async_helper/async_helper.dart
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/expect.js \
+ package:expect/expect.dart \
+ package:expect/minitest.dart
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/js.js \
+ package:js/js.dart \
+ package:js/js_util.dart \
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/lookup_map.js \
+ package:lookup_map/lookup_map.dart
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/meta.js \
+ package:meta/meta.dart
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/microlytics.js \
+ package:microlytics/microlytics.dart \
+ package:microlytics/html_channels.dart
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/typed_mock.js \
+ package:typed_mock/typed_mock.dart
+
+# Under third_party/pkg
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/args.js \
+ package:args/args.dart \
+ package:args/command_runner.dart
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/charcode.js \
+ package:charcode/charcode.dart
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/collection.js \
+ package:collection/collection.dart
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/fixnum.js \
+ package:fixnum/fixnum.dart
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/logging.js \
+ package:logging/logging.dart
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/markdown.js \
+ package:markdown/markdown.dart
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/matcher.js \
+ package:matcher/matcher.dart
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/mime.js \
+ package:mime/mime.dart
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/path.js \
+ package:path/path.dart
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/plugin.js \
+ package:plugin/plugin.dart \
+ package:plugin/manager.dart
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/typed_data.js \
+ package:typed_data/typed_data.dart
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/usage.js \
+ package:usage/usage.dart
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/utf.js \
+ package:utf/utf.dart
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/when.js \
+ package:when/when.dart
+
+# Composite packages with dependencies
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/async.js \
+ -s gen/codegen_output/pkg/collection.sum \
+ package:async/async.dart
+
+./bin/dartdevc.dart $SDK -o gen/codegen_output/pkg/stack_trace.js \
+ -s gen/codegen_output/pkg/path.sum \
+ package:stack_trace/stack_trace.dart
« no previous file with comments | « DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698