Skip to content

Commit

Permalink
build: fill in missing MATERIAL_EXPERIMENTAL_PACKAGES (angular#16113)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmalerba authored May 24, 2019
1 parent f1bd252 commit 755fd56
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 26 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"postinstall": "ngc -p angular-tsconfig.json",
"build": "gulp build-release-packages",
"dev-app": "gulp serve:devapp",
"test": "gulp test",
"test": "bazel test //src/...",
"lint": "gulp lint",
"e2e": "bazel test //e2e/...",
"deploy": "gulp deploy:devapp",
Expand Down
8 changes: 8 additions & 0 deletions packages.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@ MATERIAL_SCSS_LIBS = [
]

MATERIAL_EXPERIMENTAL_PACKAGES = [
"mdc-button",
"mdc-card",
"mdc-checkbox",
"mdc-chips",
"mdc-helpers",
"mdc-menu",
"mdc-radio",
"mdc-slide-toggle",
"popover-edit",
]

Expand Down
8 changes: 0 additions & 8 deletions src/dev-app/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,5 @@ sass_binary(
],
deps = [
"//src/material/core:all_themes",
"//src/material-experimental/mdc-helpers:mdc_scss_deps_lib",
"//src/material-experimental/mdc-button:button_scss_lib",
"//src/material-experimental/mdc-card:card_scss_lib",
"//src/material-experimental/mdc-checkbox:checkbox_scss_lib",
"//src/material-experimental/mdc-chips:chips_scss_lib",
"//src/material-experimental/mdc-menu:menu_scss_lib",
"//src/material-experimental/mdc-radio:radio_scss_lib",
"//src/material-experimental/mdc-slide-toggle:slide_toggle_scss_lib",
] + MATERIAL_EXPERIMENTAL_SCSS_LIBS
)
14 changes: 7 additions & 7 deletions src/e2e-app/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,13 @@ sass_binary(
deps = [
"//src/material/core:all_themes",
"//src/material-experimental/mdc-helpers:mdc_scss_deps_lib",
"//src/material-experimental/mdc-button:button_scss_lib",
"//src/material-experimental/mdc-card:card_scss_lib",
"//src/material-experimental/mdc-checkbox:checkbox_scss_lib",
"//src/material-experimental/mdc-chips:chips_scss_lib",
"//src/material-experimental/mdc-menu:menu_scss_lib",
"//src/material-experimental/mdc-radio:radio_scss_lib",
"//src/material-experimental/mdc-slide-toggle:slide_toggle_scss_lib",
"//src/material-experimental/mdc-button:mdc_button_scss_lib",
"//src/material-experimental/mdc-card:mdc_card_scss_lib",
"//src/material-experimental/mdc-checkbox:mdc_checkbox_scss_lib",
"//src/material-experimental/mdc-chips:mdc_chips_scss_lib",
"//src/material-experimental/mdc-menu:mdc_menu_scss_lib",
"//src/material-experimental/mdc-radio:mdc_radio_scss_lib",
"//src/material-experimental/mdc-slide-toggle:mdc_slide_toggle_scss_lib",
]
)

Expand Down
2 changes: 1 addition & 1 deletion src/material-experimental/mdc-button/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ng_module(
)

sass_library(
name = "button_scss_lib",
name = "mdc_button_scss_lib",
srcs = glob(["**/_*.scss"]),
deps = [
"//src/material/core:core_scss_lib",
Expand Down
2 changes: 1 addition & 1 deletion src/material-experimental/mdc-card/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ng_module(
)

sass_library(
name = "card_scss_lib",
name = "mdc_card_scss_lib",
srcs = glob(["**/_*.scss"]),
deps = [
"//src/material/core:core_scss_lib",
Expand Down
4 changes: 2 additions & 2 deletions src/material-experimental/mdc-checkbox/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ng_module(
)

sass_library(
name = "checkbox_scss_lib",
name = "mdc_checkbox_scss_lib",
srcs = glob(["**/_*.scss"]),
deps = [
"//src/material/core:core_scss_lib",
Expand All @@ -38,8 +38,8 @@ sass_binary(
"external/npm/node_modules",
],
deps = [
":checkbox_scss_lib",
"//src/material/core:all_themes",
"//src/material-experimental/mdc-helpers:mdc_helpers_scss_lib",
"//src/material-experimental/mdc-helpers:mdc_scss_deps_lib",
]
)
Expand Down
2 changes: 1 addition & 1 deletion src/material-experimental/mdc-chips/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ng_module(
)

sass_library(
name = "chips_scss_lib",
name = "mdc_chips_scss_lib",
srcs = glob(["**/_*.scss"]),
deps = [
"//src/material/core:core_scss_lib",
Expand Down
3 changes: 1 addition & 2 deletions src/material-experimental/mdc-menu/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ng_module(
)

sass_library(
name = "menu_scss_lib",
name = "mdc_menu_scss_lib",
srcs = glob(["**/_*.scss"]),
deps = [
"//src/material/core:core_scss_lib",
Expand All @@ -36,7 +36,6 @@ sass_binary(
"external/npm/node_modules",
],
deps = [
":menu_scss_lib",
"//src/material/core:all_themes",
"//src/material-experimental/mdc-helpers:mdc_scss_deps_lib",
]
Expand Down
2 changes: 1 addition & 1 deletion src/material-experimental/mdc-radio/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ng_module(
)

sass_library(
name = "radio_scss_lib",
name = "mdc_radio_scss_lib",
srcs = glob(["**/_*.scss"]),
deps = [
"//src/material/core:core_scss_lib",
Expand Down
4 changes: 2 additions & 2 deletions src/material-experimental/mdc-slide-toggle/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ng_module(
)

sass_library(
name = "slide_toggle_scss_lib",
name = "mdc_slide_toggle_scss_lib",
srcs = glob(["**/_*.scss"]),
deps = [
"//src/material/core:core_scss_lib",
Expand All @@ -36,7 +36,7 @@ sass_binary(
"external/npm/node_modules",
],
deps = [
":slide_toggle_scss_lib",
"//src/material-experimental/mdc-helpers:mdc_helpers_scss_lib",
"//src/material-experimental/mdc-helpers:mdc_scss_deps_lib",
]
)
Expand Down

0 comments on commit 755fd56

Please sign in to comment.