Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge the codelabs branch into main branch #1823

Merged
merged 9 commits into from
Apr 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ analyzer:
- 'lib/bower/**'
- 'lib/src/protos/**'
- 'third_party/pkg/**'

- 'web/example/codelabs/**'
linter:
rules:
- await_only_futures
Expand Down
16 changes: 16 additions & 0 deletions build.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,24 @@
targets:
$default:
builders:
# Don't clean up codelab examples, they need to be served.
build_web_compilers:dart_source_cleanup:
generate_for:
exclude:
- web/example/codelabs/**.dart

build_web_compilers|entrypoint:
# Don't compile codelab examples.
generate_for:
exclude:
- web/example/codelabs/**.dart
options:
dart2js_args:
- --minify
- --fast-startup

json_serializable:
# Ignore codelab samples.
generate_for:
exclude:
- web/example/codelabs/**.dart
Loading