8000 GitHub - ash0080/pubspec: mod for support virtual filesystem test
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
forked from j4qfrost/pubspec

mod for support virtual filesystem test

License

Notifications You must be signed in to change notification settings

ash0080/pubspec

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pubspec

A library for manipulating pubspec files.

Usage

A simple usage example:

import 'package:pubspec/pubspec.dart';

main() async {
  // 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': PathReference('../foo') });

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

Features and bugs

Please file feature requests and bugs at the issue tracker.

About

mod for support virtual filesystem test

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 100.0%
0