From 3f79425a42119ecf4c63ea0468f0179ba32767c4 Mon Sep 17 00:00:00 2001 From: Nicholas Shahan Date: Mon, 15 Apr 2019 14:54:45 -0700 Subject: [PATCH] Prep to publish angular_components v0.13.0 * Update CHANGELOG and bump deps. * Add build.yaml files to examples needed to configure the updated builders. * Additional changes to travis testing scripts. PiperOrigin-RevId: 243687496 --- angular_components/CHANGELOG.md | 152 ++++++++++++++++++ .../utils/angular/properties/properties.dart | 2 +- angular_components/pubspec.yaml | 12 +- .../tool/travis/install_protoc.sh | 4 +- angular_gallery/pubspec.yaml | 12 +- angular_gallery_section/build.yaml | 2 + angular_gallery_section/pubspec.yaml | 14 +- .../angular_components_example/build.yaml | 1 + .../angular_components_example/pubspec.yaml | 6 +- examples/app_layout_example/build.yaml | 2 + examples/app_layout_example/pubspec.yaml | 8 +- examples/material_button_example/build.yaml | 2 + examples/material_button_example/pubspec.yaml | 8 +- examples/material_card_example/build.yaml | 2 + examples/material_card_example/pubspec.yaml | 8 +- examples/material_checkbox_example/build.yaml | 2 + .../material_checkbox_example/pubspec.yaml | 8 +- examples/material_chips_example/build.yaml | 2 + examples/material_chips_example/pubspec.yaml | 8 +- .../material_datepicker_example/build.yaml | 2 + .../material_datepicker_example/pubspec.yaml | 8 +- examples/material_dialog_example/build.yaml | 2 + examples/material_dialog_example/pubspec.yaml | 8 +- .../build.yaml | 2 + .../pubspec.yaml | 8 +- examples/material_icon_example/build.yaml | 2 + examples/material_icon_example/pubspec.yaml | 8 +- examples/material_input_example/build.yaml | 2 + examples/material_input_example/pubspec.yaml | 8 +- examples/material_list_example/build.yaml | 2 + examples/material_list_example/pubspec.yaml | 8 +- examples/material_menu_example/build.yaml | 2 + examples/material_menu_example/pubspec.yaml | 10 +- examples/material_popup_example/build.yaml | 2 + examples/material_popup_example/pubspec.yaml | 8 +- examples/material_progress_example/build.yaml | 2 + .../material_progress_example/pubspec.yaml | 8 +- examples/material_radio_example/build.yaml | 2 + examples/material_radio_example/pubspec.yaml | 8 +- examples/material_select_example/build.yaml | 2 + examples/material_select_example/pubspec.yaml | 8 +- examples/material_slider_example/build.yaml | 2 + examples/material_slider_example/pubspec.yaml | 8 +- examples/material_spinner_example/build.yaml | 2 + .../material_spinner_example/pubspec.yaml | 8 +- examples/material_stepper_example/build.yaml | 2 + .../material_stepper_example/pubspec.yaml | 8 +- examples/material_tab_example/build.yaml | 2 + examples/material_tab_example/pubspec.yaml | 8 +- examples/material_toggle_example/build.yaml | 2 + examples/material_toggle_example/pubspec.yaml | 8 +- examples/material_tooltip_example/build.yaml | 2 + .../material_tooltip_example/pubspec.yaml | 8 +- examples/material_tree_example/build.yaml | 2 + examples/material_tree_example/pubspec.yaml | 8 +- .../build.yaml | 2 + .../pubspec.yaml | 8 +- examples/scorecard_example/build.yaml | 2 + examples/scorecard_example/pubspec.yaml | 8 +- examples/simple_html_example/build.yaml | 2 + examples/simple_html_example/pubspec.yaml | 10 +- tool/travis.sh | 84 +++++----- 62 files changed, 417 insertions(+), 136 deletions(-) diff --git a/angular_components/CHANGELOG.md b/angular_components/CHANGELOG.md index b73514b8d..b5ad74fa2 100644 --- a/angular_components/CHANGELOG.md +++ b/angular_components/CHANGELOG.md @@ -1,3 +1,155 @@ +## 0.13.0 +### Component Updates + +#### Material Autosuggest Input +* Toggle multi-select items with `` instead of ``. +* Make the pointer for the clear icon consistent with other buttons when + disabled. + +#### Material Button +* Apply media query to `_button_hover` mixin call so that we will skip hover for + all touchscreens (only apply hover for media supporting hover). +* Add Sass mixins to customize icon colors and left align button text. +* Avoid double trigger of button with a space bar keypress. + +#### Material Checkbox +* Use both label and content as aria label. +* Add types to the outputs. + +#### Material Date Picker +* Make the calendar component invisible to screen readers. +* Add `selectDatePlaceHolderMsg`, `placeholderMsg`, and + `dropdownButtonAriaLabel` inputs. + +#### Material Date Range Picker +* Add `preferredPositions` input. +* Improve handling of pt-BR date range formatting to remove repetitive "de"s + when the endpoints fall into different years. +* Make comparison toggle label clickable. + +#### Material Dialog +* Add Sass mixin to customize font size. +* Use header as default dialog label. +* Mark current landmarks as `role="presentation"` to avoid unnecessary grouping. +* Add missing modal visible output. + +#### Material Expansion Panel +* Add missing modal visible output. +* Allow header to have an outline, and control it with keyboard only focus. +* Add aria-expanded to announce when it is opened/closed. +* Add Sass mixin to make save button raised and highlighted. +* Improve a11y. +* Add the ability to tag the content that you would like to focus when an + expansion panel opens. + +#### Material Icon +* Add Sass mixin to customize svg icon size. + +#### Material Input +* Update error message for negative percentage value to be "not negative" + instead of "positive", because zero is allowed. +* Ensure that `aria-disabled` is set for the input when the input is disabled. +* Use aria-describedby attribute in the to call out errors. +* Remove TAB focus from disabled multiline input. +* Add Sass mixin for multiline inputs to flex and scroll the text entry. +* Add Sass mixins for setting `flex-grow` property and the clear icon color. +* Stop hiding character counter from Aria. +* Add `role="alert"` to error text region. +* Add generic types to `MaterialInputDefaultValueAccessor` and + `MaterialNumberValueAccessor`. +* Create new `Int64` value accessor. +* Pass down the aria-label for leading and trailing glyphs. + +#### Material Menu +* Remove unnecessary escape key handling in MenuItemGroupsComponent. +* Add in aria-label support into the items and groups. +* Open dropdown when navigation keys are pressed. +* Add Sass mixin to customize the item icon size. +* Add aria-expanded to collapsible menu groups. +* Fix item focus bug when the fab menu is opened. +* Improve aria roles for `MenuItemGroup` items. +* Add keyboard accessibility functionality for active item handling. + +#### Material Progress +* Fix screen reader status messages. + +#### Material Popup +* Add `autoDismissBlockers` input to block click events in certain elements from + closing the popup. +* Support defining custom boundaries around window viewport. +* Ensure footer stays inside popup boundaries. +* Add Sass mixin to override overflow value. +* Fix memory leaks. + +#### Material Stepper +* Announce the current step via the screen reader. +* Provide custom aria label for steps. + +#### Material Select +* Fix issue where a keypress on selected item would re-open dropdown. +* Remove `tabIndex` from items and let the dropdown control focus instead. Focus + is now controlled by the dropdown itself. +* Support keyboard navigation. +* Add Sass mixins to customize: + * Background color of the selected item. + * Minimum height of the dropdown buttons. + * Color of the dropdown icon. + * Font size of items. +* Allow auto-focusing on the active item. +* Update Sass mixin `dropdown-icon-spacing` to accept all four margins. + +#### Material Tab +* Add Sass mixin to customize tab strip elevation. + +#### Material Toggle +* Add focus effect. + +#### Material Tooltip +* Remove `initAriaAttributes` for ink tooltips by default. +* Fix hiding tooltip for `MaterialTooltipTargetDirective` when focusing inside + of it. + +#### Material Tree +* Add `allowParentSingleSelection` input. +* Don't override state when `expandAll` hasn't been set. +* Add component generics and pass type through to nodes. + +#### Material Yes/No Buttons +* Add Sass mixin to make yes button raised and highlighted. +* Add Sass mixin to make no button highlighted. + +#### Scorecard +* Fix improper heading hierarchy. +* Fixed scrolling when the average size of the cards is bigger than the client. + +#### Simple HTML Component +* Add attribute `doNotVerifyUrlDestinations` to allow "normal" external URLs. + +### Other Updates + +#### Selection Model +* Allow `is NullSelectionModel` as a replacement for + `== const SelectionModel.empty()`, necessary for typed selection models which + can't use const. +* Expose null selection model type to allow type checks. +* Remove deprecated `SelectionModel()`. +* Add `isSingleSelect` field. + +#### Miscellaneous +* Allow `HasTabIndex` to not set a `TabIndex`. +* Fix a bug where sticky elements do not stack when sticky position is BOTTOM. +* Use named providers instead of the soft deprecated provide(...) and + Provider(...). +* Update MDC Web styles to v1.1.0 +* Tighten public APIs with `@visibleForTemplate`. +* Enable trigger logic that only considers `mouseup` events as part of + `triggersOutside()` if the corresponding `mousedown` event came from the same + element. +* Fix runtime cast errors. +* Remove use of `ChangeDetectionStrategy.Detached`. +* Non-tabbable `buttonDirectivesRemove` now have no tabIndex instead of -1. +* Many components migrated to `OnPush` change detection. + ## 0.12.0 ### Component Updates diff --git a/angular_components/lib/utils/angular/properties/properties.dart b/angular_components/lib/utils/angular/properties/properties.dart index 2fdaff10f..4729a3daa 100644 --- a/angular_components/lib/utils/angular/properties/properties.dart +++ b/angular_components/lib/utils/angular/properties/properties.dart @@ -27,7 +27,7 @@ bool _parseBool(String strValue) { strValue, 'strValue', 'Only "", "true", and "false" are acceptable values for parseBool. ' - 'Found: '); + 'Found: '); } } diff --git a/angular_components/pubspec.yaml b/angular_components/pubspec.yaml index f511d89b8..1de7f5160 100644 --- a/angular_components/pubspec.yaml +++ b/angular_components/pubspec.yaml @@ -1,5 +1,5 @@ name: angular_components -version: 0.12.0 +version: 0.13.0 description: > The official Material Design components for AngularDart. Used at Google in production apps. @@ -7,21 +7,21 @@ homepage: https://webdev.dartlang.org/components documentation: https://webdev.dartlang.org/api?package=angular_components author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 + angular: ^5.3.0 angular_forms: ^2.1.0 - async: ^2.0.8 + async: ^2.1.0 build: '>=0.11.1 <2.0.0' build_config: '>=0.2.6 <0.4.0' built_collection: ^4.0.0 collection: ^1.14.10 fixnum: ^0.10.7 - intl: '>=0.14.0 <0.16.0' + intl: '>=0.14.0 <0.17.0' js: ^0.6.1 logging: ^0.11.2 meta: ^1.0.4 - observable: ^0.22.1+3 + observable: ^0.22.2 protobuf: ^0.13.6 quiver: '>=0.24.0 <3.0.0' sass_builder: ^2.0.2 diff --git a/angular_components/tool/travis/install_protoc.sh b/angular_components/tool/travis/install_protoc.sh index 5a194a5b8..a411a8bad 100755 --- a/angular_components/tool/travis/install_protoc.sh +++ b/angular_components/tool/travis/install_protoc.sh @@ -3,8 +3,8 @@ # Only run externally during presubmits on Travis. set -ev -PROTOC_PLUGIN_VERSION="0.10.2" -PROTOC_VERSION="3.6.0" +PROTOC_PLUGIN_VERSION="16.0.5" +PROTOC_VERSION="3.7.1" if type protoc > /dev/null; then echo "protoc already installed." diff --git a/angular_gallery/pubspec.yaml b/angular_gallery/pubspec.yaml index 6f1540a72..364909b6a 100644 --- a/angular_gallery/pubspec.yaml +++ b/angular_gallery/pubspec.yaml @@ -1,12 +1,16 @@ name: angular_gallery author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 angular_forms: ^2.1.0 - angular_router: 2.0.0-alpha+21 + angular_router: 2.0.0-alpha+22 build: '>=0.11.1 <2.0.0' build_config: '>=0.2.6 <0.4.0' mustache: ^1.0.0 + +dependency_overrides: + angular_components: + path: ../angular_components diff --git a/angular_gallery_section/build.yaml b/angular_gallery_section/build.yaml index 7cc27b0fe..c1050bdff 100644 --- a/angular_gallery_section/build.yaml +++ b/angular_gallery_section/build.yaml @@ -12,6 +12,8 @@ targets: ] angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False builders: angular_gallery_section: diff --git a/angular_gallery_section/pubspec.yaml b/angular_gallery_section/pubspec.yaml index bb79bd79d..3892af574 100644 --- a/angular_gallery_section/pubspec.yaml +++ b/angular_gallery_section/pubspec.yaml @@ -1,11 +1,13 @@ name: angular_gallery_section author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - analyzer: ^0.34.0 - angular: ^5.2.0 - angular_components: 0.12.0 + analyzer: ^0.35.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../angular_gallery build: '>=0.11.1 <2.0.0' build_config: '>=0.2.6 <0.4.0' glob: ^1.1.5 @@ -13,3 +15,7 @@ dependencies: mustache: ^1.0.0 path: ^1.6.1 sass: '>=1.15.3 <2.0.0' + +dependency_overrides: + angular_components: + path: ../angular_components diff --git a/examples/angular_components_example/build.yaml b/examples/angular_components_example/build.yaml index 9109b7204..c80d44ce1 100644 --- a/examples/angular_components_example/build.yaml +++ b/examples/angular_components_example/build.yaml @@ -12,6 +12,7 @@ targets: styleUrls: ["gallery.scss.css"] galleryTitle: "AngularDart Gallery" examples: "app_layout_example,material_button_example,material_card_example,material_checkbox_example,material_chips_example,material_datepicker_example,material_dialog_example,material_expansionpanel_example,material_icon_example,material_input_example,material_list_example,material_menu_example,material_popup_example,material_progress_example,material_radio_example,material_select_example,material_slider_example,material_spinner_example,material_stepper_example,material_tab_example,material_toggle_example,material_tooltip_example,material_tree_example,material_yes_no_buttons_example,simple_html_example,scorecard_example" + sourcecodeUrl: "https://github.com/dart-lang/angular_components/tree/master/" angular_components|scss_builder: enabled: true angular_gallery_section: diff --git a/examples/angular_components_example/pubspec.yaml b/examples/angular_components_example/pubspec.yaml index ab37d4baa..ccf3e9a83 100644 --- a/examples/angular_components_example/pubspec.yaml +++ b/examples/angular_components_example/pubspec.yaml @@ -1,11 +1,11 @@ name: angular_components_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 angular_gallery: path: ../../angular_gallery app_layout_example: diff --git a/examples/app_layout_example/build.yaml b/examples/app_layout_example/build.yaml index 9c3e54920..bab51274f 100644 --- a/examples/app_layout_example/build.yaml +++ b/examples/app_layout_example/build.yaml @@ -3,6 +3,8 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False angular_gallery_section|angular_gallery_section: options: staticImageServer: "https://raw.githubusercontent.com" diff --git a/examples/app_layout_example/pubspec.yaml b/examples/app_layout_example/pubspec.yaml index bf5a844cf..fd0042885 100644 --- a/examples/app_layout_example/pubspec.yaml +++ b/examples/app_layout_example/pubspec.yaml @@ -1,10 +1,12 @@ name: app_layout_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_button_example/build.yaml b/examples/material_button_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_button_example/build.yaml +++ b/examples/material_button_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_button_example/pubspec.yaml b/examples/material_button_example/pubspec.yaml index 34f0d65ea..44db54b2f 100644 --- a/examples/material_button_example/pubspec.yaml +++ b/examples/material_button_example/pubspec.yaml @@ -1,10 +1,12 @@ name: material_button_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_card_example/build.yaml b/examples/material_card_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_card_example/build.yaml +++ b/examples/material_card_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_card_example/pubspec.yaml b/examples/material_card_example/pubspec.yaml index 3f2022b89..3d3e368a5 100644 --- a/examples/material_card_example/pubspec.yaml +++ b/examples/material_card_example/pubspec.yaml @@ -1,10 +1,12 @@ name: material_card_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_checkbox_example/build.yaml b/examples/material_checkbox_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_checkbox_example/build.yaml +++ b/examples/material_checkbox_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_checkbox_example/pubspec.yaml b/examples/material_checkbox_example/pubspec.yaml index 46739c3f4..88ca4c1ac 100644 --- a/examples/material_checkbox_example/pubspec.yaml +++ b/examples/material_checkbox_example/pubspec.yaml @@ -1,11 +1,13 @@ name: material_checkbox_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 angular_forms: ^2.1.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_chips_example/build.yaml b/examples/material_chips_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_chips_example/build.yaml +++ b/examples/material_chips_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_chips_example/pubspec.yaml b/examples/material_chips_example/pubspec.yaml index 229333a7e..7e01ce1b4 100644 --- a/examples/material_chips_example/pubspec.yaml +++ b/examples/material_chips_example/pubspec.yaml @@ -1,10 +1,12 @@ name: material_chips_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_datepicker_example/build.yaml b/examples/material_datepicker_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_datepicker_example/build.yaml +++ b/examples/material_datepicker_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_datepicker_example/pubspec.yaml b/examples/material_datepicker_example/pubspec.yaml index e7d4eca47..3f45f2b10 100644 --- a/examples/material_datepicker_example/pubspec.yaml +++ b/examples/material_datepicker_example/pubspec.yaml @@ -1,10 +1,12 @@ name: material_datepicker_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_dialog_example/build.yaml b/examples/material_dialog_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_dialog_example/build.yaml +++ b/examples/material_dialog_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_dialog_example/pubspec.yaml b/examples/material_dialog_example/pubspec.yaml index 9d4d1c1a6..c3f4a11df 100644 --- a/examples/material_dialog_example/pubspec.yaml +++ b/examples/material_dialog_example/pubspec.yaml @@ -1,10 +1,12 @@ name: material_dialog_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_expansionpanel_example/build.yaml b/examples/material_expansionpanel_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_expansionpanel_example/build.yaml +++ b/examples/material_expansionpanel_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_expansionpanel_example/pubspec.yaml b/examples/material_expansionpanel_example/pubspec.yaml index 9b0d68794..45c5d35df 100644 --- a/examples/material_expansionpanel_example/pubspec.yaml +++ b/examples/material_expansionpanel_example/pubspec.yaml @@ -1,11 +1,13 @@ name: material_expansionpanel_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 angular_forms: ^2.1.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_icon_example/build.yaml b/examples/material_icon_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_icon_example/build.yaml +++ b/examples/material_icon_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_icon_example/pubspec.yaml b/examples/material_icon_example/pubspec.yaml index da563f01d..6a16c58e9 100644 --- a/examples/material_icon_example/pubspec.yaml +++ b/examples/material_icon_example/pubspec.yaml @@ -1,10 +1,12 @@ name: material_icon_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_input_example/build.yaml b/examples/material_input_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_input_example/build.yaml +++ b/examples/material_input_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_input_example/pubspec.yaml b/examples/material_input_example/pubspec.yaml index a5d187f58..01f5fdbcf 100644 --- a/examples/material_input_example/pubspec.yaml +++ b/examples/material_input_example/pubspec.yaml @@ -1,11 +1,13 @@ name: material_input_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 angular_forms: ^2.1.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_list_example/build.yaml b/examples/material_list_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_list_example/build.yaml +++ b/examples/material_list_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_list_example/pubspec.yaml b/examples/material_list_example/pubspec.yaml index 802254bf8..3ea360150 100644 --- a/examples/material_list_example/pubspec.yaml +++ b/examples/material_list_example/pubspec.yaml @@ -1,10 +1,12 @@ name: material_list_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_menu_example/build.yaml b/examples/material_menu_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_menu_example/build.yaml +++ b/examples/material_menu_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_menu_example/pubspec.yaml b/examples/material_menu_example/pubspec.yaml index 9e060fb7a..b5cad9602 100644 --- a/examples/material_menu_example/pubspec.yaml +++ b/examples/material_menu_example/pubspec.yaml @@ -1,11 +1,13 @@ name: material_menu_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' - observable: ^0.22.1+3 + observable: ^0.22.2 diff --git a/examples/material_popup_example/build.yaml b/examples/material_popup_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_popup_example/build.yaml +++ b/examples/material_popup_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_popup_example/pubspec.yaml b/examples/material_popup_example/pubspec.yaml index bc840099d..40caf5173 100644 --- a/examples/material_popup_example/pubspec.yaml +++ b/examples/material_popup_example/pubspec.yaml @@ -1,10 +1,12 @@ name: material_popup_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_progress_example/build.yaml b/examples/material_progress_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_progress_example/build.yaml +++ b/examples/material_progress_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_progress_example/pubspec.yaml b/examples/material_progress_example/pubspec.yaml index 96b7c0e05..6df1f1783 100644 --- a/examples/material_progress_example/pubspec.yaml +++ b/examples/material_progress_example/pubspec.yaml @@ -1,10 +1,12 @@ name: material_progress_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_radio_example/build.yaml b/examples/material_radio_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_radio_example/build.yaml +++ b/examples/material_radio_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_radio_example/pubspec.yaml b/examples/material_radio_example/pubspec.yaml index de1e9b0a6..c1936858a 100644 --- a/examples/material_radio_example/pubspec.yaml +++ b/examples/material_radio_example/pubspec.yaml @@ -1,11 +1,13 @@ name: material_radio_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 angular_forms: ^2.1.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_select_example/build.yaml b/examples/material_select_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_select_example/build.yaml +++ b/examples/material_select_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_select_example/pubspec.yaml b/examples/material_select_example/pubspec.yaml index bf3da77fe..b22ea9ace 100644 --- a/examples/material_select_example/pubspec.yaml +++ b/examples/material_select_example/pubspec.yaml @@ -1,11 +1,13 @@ name: material_select_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 angular_forms: ^2.1.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_slider_example/build.yaml b/examples/material_slider_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_slider_example/build.yaml +++ b/examples/material_slider_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_slider_example/pubspec.yaml b/examples/material_slider_example/pubspec.yaml index 770d4834e..e7a6ac99d 100644 --- a/examples/material_slider_example/pubspec.yaml +++ b/examples/material_slider_example/pubspec.yaml @@ -1,10 +1,12 @@ name: material_slider_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_spinner_example/build.yaml b/examples/material_spinner_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_spinner_example/build.yaml +++ b/examples/material_spinner_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_spinner_example/pubspec.yaml b/examples/material_spinner_example/pubspec.yaml index 6a73a53b0..575bc1a40 100644 --- a/examples/material_spinner_example/pubspec.yaml +++ b/examples/material_spinner_example/pubspec.yaml @@ -1,10 +1,12 @@ name: material_spinner_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_stepper_example/build.yaml b/examples/material_stepper_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_stepper_example/build.yaml +++ b/examples/material_stepper_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_stepper_example/pubspec.yaml b/examples/material_stepper_example/pubspec.yaml index c37879205..a40fea06d 100644 --- a/examples/material_stepper_example/pubspec.yaml +++ b/examples/material_stepper_example/pubspec.yaml @@ -1,10 +1,12 @@ name: material_stepper_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_tab_example/build.yaml b/examples/material_tab_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_tab_example/build.yaml +++ b/examples/material_tab_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_tab_example/pubspec.yaml b/examples/material_tab_example/pubspec.yaml index 40b7c6b34..177e0f8da 100644 --- a/examples/material_tab_example/pubspec.yaml +++ b/examples/material_tab_example/pubspec.yaml @@ -1,10 +1,12 @@ name: material_tab_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_toggle_example/build.yaml b/examples/material_toggle_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_toggle_example/build.yaml +++ b/examples/material_toggle_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_toggle_example/pubspec.yaml b/examples/material_toggle_example/pubspec.yaml index af160f207..5d5139707 100644 --- a/examples/material_toggle_example/pubspec.yaml +++ b/examples/material_toggle_example/pubspec.yaml @@ -1,10 +1,12 @@ name: material_toggle_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_tooltip_example/build.yaml b/examples/material_tooltip_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_tooltip_example/build.yaml +++ b/examples/material_tooltip_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_tooltip_example/pubspec.yaml b/examples/material_tooltip_example/pubspec.yaml index 48195bd06..d1f2e2bf3 100644 --- a/examples/material_tooltip_example/pubspec.yaml +++ b/examples/material_tooltip_example/pubspec.yaml @@ -1,10 +1,12 @@ name: material_tooltip_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_tree_example/build.yaml b/examples/material_tree_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_tree_example/build.yaml +++ b/examples/material_tree_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_tree_example/pubspec.yaml b/examples/material_tree_example/pubspec.yaml index 8cf6481fc..0c1174f83 100644 --- a/examples/material_tree_example/pubspec.yaml +++ b/examples/material_tree_example/pubspec.yaml @@ -1,10 +1,12 @@ name: material_tree_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/material_yes_no_buttons_example/build.yaml b/examples/material_yes_no_buttons_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/material_yes_no_buttons_example/build.yaml +++ b/examples/material_yes_no_buttons_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/material_yes_no_buttons_example/pubspec.yaml b/examples/material_yes_no_buttons_example/pubspec.yaml index d8d7351c3..8b4e69445 100644 --- a/examples/material_yes_no_buttons_example/pubspec.yaml +++ b/examples/material_yes_no_buttons_example/pubspec.yaml @@ -1,10 +1,12 @@ name: material_yes_no_buttons_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/scorecard_example/build.yaml b/examples/scorecard_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/scorecard_example/build.yaml +++ b/examples/scorecard_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/scorecard_example/pubspec.yaml b/examples/scorecard_example/pubspec.yaml index 6795b2f40..efb5fcf21 100644 --- a/examples/scorecard_example/pubspec.yaml +++ b/examples/scorecard_example/pubspec.yaml @@ -1,11 +1,13 @@ name: scorecard_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 angular_forms: ^2.1.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' diff --git a/examples/simple_html_example/build.yaml b/examples/simple_html_example/build.yaml index abf41ba93..76d308a02 100644 --- a/examples/simple_html_example/build.yaml +++ b/examples/simple_html_example/build.yaml @@ -3,3 +3,5 @@ targets: builders: angular_components|scss_builder: enabled: True + angular_gallery|angular_gallery: + enabled: False diff --git a/examples/simple_html_example/pubspec.yaml b/examples/simple_html_example/pubspec.yaml index c881ecac0..38d708292 100644 --- a/examples/simple_html_example/pubspec.yaml +++ b/examples/simple_html_example/pubspec.yaml @@ -1,11 +1,13 @@ name: simple_html_example author: Dart Team environment: - sdk: '>=2.1.0-dev.9.4 <3.0.0' + sdk: '>=2.2.1-dev.3.0 <3.0.0' dependencies: - angular: ^5.2.0 - angular_components: 0.12.0 + angular: ^5.3.0 + angular_components: 0.13.0 + angular_gallery: + path: ../../angular_gallery angular_gallery_section: path: ../../angular_gallery_section build_config: '>=0.2.6 <0.4.0' - intl: '>=0.14.0 <0.16.0' + intl: '>=0.14.0 <0.17.0' diff --git a/tool/travis.sh b/tool/travis.sh index 82875898d..9e25013bd 100755 --- a/tool/travis.sh +++ b/tool/travis.sh @@ -1,50 +1,62 @@ #!/bin/bash -# Created with package:mono_repo v1.2.1 +# Created with package:mono_repo v2.0.0 -if [ -z "$PKG" ]; then - echo -e '\033[31mPKG environment variable must be set!\033[0m' +if [[ -z ${PKGS} ]]; then + echo -e '\033[31mPKGS environment variable must be set!\033[0m' exit 1 fi -if [ "$#" == "0" ]; then +if [[ "$#" == "0" ]]; then echo -e '\033[31mAt least one task argument must be provided!\033[0m' exit 1 fi -pushd $PKG -pub upgrade || exit $? - EXIT_CODE=0 -while (( "$#" )); do - TASK=$1 - case $TASK in - command) echo - echo -e '\033[1mTASK: command\033[22m' - echo -e './tool/travis/install_protoc.sh' - ./tool/travis/install_protoc.sh || EXIT_CODE=$? - ;; - dartanalyzer) echo - echo -e '\033[1mTASK: dartanalyzer\033[22m' - echo -e 'dartanalyzer --fatal-warnings .' - dartanalyzer --fatal-warnings . || EXIT_CODE=$? - ;; - dartfmt) echo - echo -e '\033[1mTASK: dartfmt\033[22m' - echo -e 'dartfmt -n --set-exit-if-changed .' - dartfmt -n --set-exit-if-changed . || EXIT_CODE=$? - ;; - test) echo - echo -e '\033[1mTASK: test\033[22m' - echo -e 'pub run test --run-skipped' - pub run test --run-skipped || EXIT_CODE=$? - ;; - *) echo -e "\033[31mNot expecting TASK '${TASK}'. Error!\033[0m" - EXIT_CODE=1 - ;; - esac +for PKG in ${PKGS}; do + echo -e "\033[1mPKG: ${PKG}\033[22m" + pushd "${PKG}" || exit $? + pub upgrade --no-precompile || exit $? + + for TASK in "$@"; do + case ${TASK} in + command_0) echo + echo -e '\033[1mTASK: command_0\033[22m' + echo -e './tool/travis/install_protoc.sh' + ./tool/travis/install_protoc.sh || EXIT_CODE=$? + ;; + command_1) echo + echo -e '\033[1mTASK: command_1\033[22m' + echo -e 'pub run build_runner build web' + pub run build_runner build web || EXIT_CODE=$? + ;; + command_2) echo + echo -e '\033[1mTASK: command_2\033[22m' + echo -e 'pub run build_runner build web --release' + pub run build_runner build web --release || EXIT_CODE=$? + ;; + dartanalyzer) echo + echo -e '\033[1mTASK: dartanalyzer\033[22m' + echo -e 'dartanalyzer --fatal-warnings .' + dartanalyzer --fatal-warnings . || EXIT_CODE=$? + ;; + dartfmt) echo + echo -e '\033[1mTASK: dartfmt\033[22m' + echo -e 'dartfmt -n --set-exit-if-changed .' + dartfmt -n --set-exit-if-changed . || EXIT_CODE=$? + ;; + test) echo + echo -e '\033[1mTASK: test\033[22m' + echo -e 'pub run test --run-skipped' + pub run test --run-skipped || EXIT_CODE=$? + ;; + *) echo -e "\033[31mNot expecting TASK '${TASK}'. Error!\033[0m" + EXIT_CODE=1 + ;; + esac + done - shift + popd done -exit $EXIT_CODE +exit ${EXIT_CODE}