build_pubspec 0.2.0+1 build_pubspec: ^0.2.0+1 copied to clipboard
Extract pubspec details (such as package version, author and description) into Dart code.
Improved docs and examples.
- Add option to override destination file.
- Support custom field names in destination Dart code for all supported fields
Add new supported fields:
In case the field is not present in the pubspec, the builder just skips it.
The code is still quite messy and the documentation is lacking.
Create new package,
build_pubspec based on
- Rename package
- Improve documentation
- Add example project
This package is based on
kevmoo/build_version. Here's the original change log.
## 2.0.1 * Support the latest `package:build_config`. ## Merged from `lexaknyazev/build_version` [Got changes from `lexaknyazev/build_version` fork](https://github.com/lexaknyazev/build_version/tree/custom-name-source-gen) * Users can now customize the version constant name and the generated version file could be a part of an existing package library. ## 2.0.0 * The builder now runs when `build_version` is a dependency. `build.yaml` changes are no longer required. ## 1.0.1 * Support `package:build_runner` `v1.0.0`. ## 1.0.0 * Initial version, created by Stagehand