pubspec 0.0.1 copy "pubspec: ^0.0.1" to clipboard
pubspec: ^0.0.1 copied to clipboard

outdatedDart 1 only

A library for manipulating [pubspec](https://www.dartlang.org/tools/pub/pubspec.html) files

pubspec #

A library for manipulating pubspec files.

Usage #

A simple usage example:

 // load it
 var pubSpec = await PubSpec.load(myDirectory);

 // change the dependencies to a single path dependency on project 'foo'
 var newPubSpec = pubSpec.copy(dependencies: { 'foo': new PathReference('../foo') });

 // save it
 await newPubSpec.save(myDirectory);

Features and bugs #

Please file feature requests and bugs at the issue tracker.

17
likes
0
pub points
99%
popularity

Publisher

verified publishertheconduit.dev

A library for manipulating [pubspec](https://www.dartlang.org/tools/pub/pubspec.html) files

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

path, pub_semver

More

Packages that depend on pubspec