Jonah Williams 9837bb062c
generate package config during runhooks (#19428)
The dart SDK needs to ship several packages which have opted into null safety for the tech preview. This requires the use of a package_config.json for compilation as this file contains the language versions. Use a dart script to generate the package_config file from the .packages file, and include that in the DEPS hooks section.

Fixes flutter/flutter#60628
2020-06-30 17:48:36 -07:00

9 lines
134 B
YAML

name: generate_package_config
environment:
sdk: ">=2.8.0 <3.0.0"
dependencies:
yaml: any
pub_semver: any
package_config: any