dev_build 1.1.1+2 dev_build: ^1.1.1+2 copied to clipboard
Development utilities for dart and flutter packages. CI and build helpers.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate dev_build
Use it
The package has the following executables:
$ run_ci
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dev_build
With Flutter:
$ flutter pub add dev_build
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
dev_build: ^1.1.1+2
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:dev_build/build_support.dart';
import 'package:dev_build/menu/menu.dart';
import 'package:dev_build/menu/menu_io.dart';
import 'package:dev_build/menu/menu_run_ci.dart';
import 'package:dev_build/package.dart';
import 'package:dev_build/shell.dart';