dart_dev 1.10.1 dart_dev: ^1.10.1 copied to clipboard
Centralized tooling for Dart projects. Consistent interface across projects. Easily configurable.
Changelog #
1.10.1 #
October 9, 2018
-
Deprecations: The following members of the
package:dart_dev/dart_dev.dart
entry point have been deprecated and will be removed in 2.0.0:SaucePlatform
const SaucePlatform chrome
const SaucePlatform chromeWindows
const SaucePlatform chromeOsx
const SaucePlatform firefoxWindows
const SaucePlatform firefoxOsx
const SaucePlatform safari
const SaucePlatform ie10
const SaucePlatform ie11
1.10.0 #
October 8, 2018
-
New Tasks:
dart1-only
anddart2-only
Use these tasks to conditionally run another dart_dev task or an arbitrary shell command only when running on Dart1 or Dart2.
# Run a dart_dev task only on Dart1: $ ddev dart1-only test # Run a dart_dev task with additional args only on Dart1: $ ddev dart1-only -- format --check # Run an shell script only on Dart1: $ ddev dart1-only ./example.sh # Run an executable with additional args only on Dart1: $ ddev dart1-only -- pub serve web --port 8080 # The `dart2-only` task works exactly the same, but only runs on Dart2: $ ddev dart2-only test $ ddev dart2-only -- format --check $ ddev dart2-only ./example.sh $ ddev dart2-only -- pub run build_runner serve web:8080
-
Deprecated Tasks:
docs
,examples
, andsaucelabs
.These three tasks have been deprecated and will be removed in 2.0.0.
1.1.2 #
March 22, 2016
-
Bug fix: The test reporter output now respects the
--no-color
flag. -
Bug fix: The test task was previously running the unit test suite even when it was disabled. This has been fixed. Additionally, passing in individual test files/directories overrides the unit and integration suites.
1.1.1 #
February 24, 2016
- Bug fix: 1.1.0 introduced a regression that caused the test task to no
longer default to running the unit test suite and instead run all tests in the
test/
directory when the--unit
flag was not explicitly set. This has been fixed and should match the behavior from before 1.1.0.
1.1.0 #
February 23, 2016
-
Improvement: Set the coverage task's exit code to non-zero when a test fails.
-
Improvement: Add support for the
-n, --name
arg for the test task. -
Bug fix: Catch and silence exception when reading a non-utf8 file during the copy-license task.
-
Bug fix: Make sure the test task observes the
--no-unit
flag.
1.0.6 #
December 16, 2015
-
Improvement:
--strong
flag added to the Analyze task. -
Improvement: The Analyze task's
--fatal-hints
flag is now implemented by utilizing the--fatal-hints
flag ondartanalyzer
instead of parsing the output. -
Documentation: Add zsh completion instructions to the README.
1.0.5 #
November 25, 2015
New Feature: pub server support for tests and coverage #
-
The Test and Coverage tasks now take a
--pub-serve
flag that will automatically spin up a pub server that is used to run the tests. -
Tests that require a pub transformer can now be run by passing in this flag!
Changes #
- Improvement:
--fatal-hints
flag added to the Analyze task.
1.0.4 #
November 20, 2015
-
Tooling: Bash completions are available in the
tool/
directory! See the README for installation instructions. -
Bug Fix: Dart 1.13 introduced a change to the
dart2js
output on which the coverage task relied fordart:html
detection. This has been fixed.
1.0.3 #
November 12, 2015
-
Improvement: The test task can now run individual test files:
ddev test test/path/to/test.dart
-
Improvement: Widen the
dartdoc
dependency range.
1.0.2 #
October 15, 2015
-
Improvement: The copy-license task now trims empty leading and trailing lines.
-
Bug Fix: Coverage task no longer incorrectly ignores test files that don't end in
_test.dart
.
1.0.1 #
September 8, 2015
New Task: docs
#
-
ddev docs
orpub run dart_dev docs
-
Documentation generation via the dartdoc package.
Changes #
-
Improvement: The
coverage
task now checks for thelcov
dependency before trying to generate the HTML report. If missing, installation instructions are given. -
Improvement: The dependency range for the
dart_style
package has been widened to>=0.1.8 <0.3.0
to avoid dependency version conflicts. -
Bug Fix: Fixed a bug that could prevent the HTML coverage report from being opened automatically.
-
Bug Fix: When running the
examples
task, pub serve errors no longer cause the process to exit prematurely.
1.0.0 #
August 20, 2015
- Initial version of dart_dev