diff --git a/.circleci/config.yml b/.circleci/config.yml index a20ee779c87..38d707404a4 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -110,7 +110,7 @@ jobs: - *restore_cache - *copy_bazel_config - - run: bazel build src/... + - run: bazel build src/... --build_tag_filters=-docs-package - run: bazel test src/... # Note: We want to save the cache in this job because the workspace cache also diff --git a/src/BUILD.bazel b/src/BUILD.bazel index 48237e8eab9..e2c9f156229 100644 --- a/src/BUILD.bazel +++ b/src/BUILD.bazel @@ -31,4 +31,5 @@ dgeni_api_docs( "cdk": CDK_PACKAGES, "material": MATERIAL_PACKAGES, }, + tags = ["docs-package"], ) diff --git a/src/material-examples/BUILD.bazel b/src/material-examples/BUILD.bazel index 9b62acfb36c..abf9f15d7cf 100644 --- a/src/material-examples/BUILD.bazel +++ b/src/material-examples/BUILD.bazel @@ -24,12 +24,13 @@ ng_module( filegroup( name = "example-source-files", - srcs = glob(["*/*.html", "*/*.css", "*/*.ts"]) + srcs = glob(["*/*.html", "*/*.css", "*/*.ts"]), ) highlight_files( name = "highlighted-source-files", - srcs = [":example-source-files"] + srcs = [":example-source-files"], + tags = ["docs-package"], ) package_docs_content( @@ -53,7 +54,8 @@ package_docs_content( # Package the API docs for the Material and CDK package into the docs-content "//src:api-docs": "api-docs", - } + }, + tags = ["docs-package"], ) ng_package( @@ -63,8 +65,7 @@ ng_package( globals = ROLLUP_GLOBALS, deps = [":examples"], data = [":docs-content"], - # TODO(devversion): re-enable once we have set up the proper compiler for the ng_package - tags = ["manual"], + tags = ["docs-package"], ) genrule(