dev_build 1.1.1+3 copy "dev_build: ^1.1.1+3" to clipboard
dev_build: ^1.1.1+3 copied to clipboard

Development utilities for dart and flutter packages. CI and build helpers.

dev_build.dart #

Build Status

IO utility run_ci #

There is a convenient way to run a validation test on your package:

  • analyze
  • format
  • test

It handles VM, web and flutter projects.

Activation: #

# Once only
dart pub global activate dev_build
# Run common validation test (analyzer, format, test) on your package (and nested packages)
pub global run dev_build:run_ci

# Run common validation tests on another package (and nested packages)
pub global run dev_build:run_ci <path>

# You might run it simply (if global pub path is in your paths)
run_ci

# Perform recursively a pub downgrade and analyze.
run_ci --pub-downgrade --analyze --no-override --recursive

# Perform dart fix --apply recursively
run_ci --fix --recursive
  • By default it also checks subfolder projects (i.e. you can run it at the top of your repo)
  • You can override the behavior by creating a 'tool/run_ci_override.dart' file
  • You can skip a folder by creating an empty placeholder file '.local/.skip_run_ci'
1
likes
140
points
2.4k
downloads

Publisher

verified publishertekartik.com

Weekly Downloads

Development utilities for dart and flutter packages. CI and build helpers.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

args, collection, meta, path, pool, process_run, pub_semver, synchronized, yaml

More

Packages that depend on dev_build