Skip to content

tekartik/pub.dart

Repository files navigation

tekartik_pub.dart

Pub and package helpers

Build Status

Setup

pubspec.yaml:

  tekartik_pub:
    git:
      url: https://github.com/tekartik/pub.dart
    version: '>=0.12.2'

API

Usage

import 'package:tekartik_pub/pub_fs_io.dart';

main() async {
  IoFsPubPackage pkg = new IoFsPubPackage(Directory.current);

  // Run all tests
  final result =  await pkg.runPub(pubRunTestArgs());
  print('exitCode: ${result.exitCode}');
}

Commands

pubget

Recursively call pub get

pubget

pubupgrade

Recursively call pub upgrade

pubupgrade

About

Pub and package helpers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •