dev_build 1.1.1+7 dev_build: ^1.1.1+7 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
copied to clipboard
Use it
The package has the following executables:
$ run_ci
copied to clipboard
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dev_build
copied to clipboard
With Flutter:
$ flutter pub add dev_build
copied to clipboard
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+7
copied to clipboard
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';
copied to clipboard