grinder 0.9.5
grinder: ^0.9.5 copied to clipboard
Grinder is a task runner for Dart, helping to define and automate common project workflows.
0.9.5 #
- Update the SDK constraint to 3.0.
- Rev to the latest version of
package:lints.
0.9.4 #
- Update the SDK constraint to
>=2.17.0 <4.0.0.
0.9.3 #
- Remove the use of the
alwaysThrowsannotation. - Fixed an issue with the
analyzecommand and long paths on Windows (#392). - Populate the pubspec
repositoryfield. - Update the markdown badges in the readme.
0.9.2 #
- Run all Dart SDK executables through
dartrather than their old standalone names.
0.9.1 #
- Address an issue with the removal of the
pubtool from Dart 2.17 (#385). - Address an issue with the removal of the
dartfmttool from Dart 2.17.
0.9.0 #
- Publish
0.9.0stable. - Address an issue with the
Process.run()/RunOptions({bool runInShell})API (@liudonghua123).
0.9.0-nullsafety.0 #
- Support null-safety.
- Declare
Neverinstead ofNullforfail()andGrinderContext.fail(). - Make the
argsparameter toGrinderTask.execute()optional.
0.8.6 #
- Declare a
Nullreturn type forfail()andGrinderContext.fail().
0.8.5 #
- Broaden the
cli_utildependency to be compatible with version 0.2.0.
0.8.4 #
- Update the code to be
package:pedanticv1.9.0 compliant.
0.8.3+1 #
- Mark
fail()andGrinderContext.fail()as@alwaysThrows. - Use
package:pedanticto analyze the package.
0.8.3 #
- Upgrade dependencies for Dart 2
0.8.2 #
- Address some
--preview-dart-2runtime issues.
0.8.1 #
- Added the ability to pass parameters to tasks from the command line (using
a
TaskArgsparameter on task functions) - Removed the older way to pass flags and options to tasks (via named and positional parameters on task functions)
- Remove a dependency on a non-strong mode package (
unscripted)
0.8.0+3 #
- All APIs, including
pub run grinder, always use the same Dart version as the user.
0.8.0+2 #
- Added
categoriesandextraArgsparameters toDart2Js.compile()andDart2Js.compileAsync()
0.8.0+1 - 2015-11-12 #
- Fixed a bug with the DDC
--html-reportoption
0.8.0 - 2015-10-29 #
- Removed deprecated constants: BIN_DIR, BUILD_DIR, LIB_DIR, WEB_DIR
- Removed the 120-col line wrapping on task output
- Added a task for DDC (dev_compiler)
- Fixed an issue where we were emitting overly verbose stack traces on failures
- Fixed an issue where we would emit stdout after a failure, even when the stdout had been emitted as part of the task
- Added
outFileandenableExperimentalMirrorsto the dart2js task - Some grinder output now written using ansi colors
- Removed the deprecated
defaultInitmethod. - Added a task for dartdoc
- Added a new
sdkBin()method
0.7.2 (2015/7/8) #
- Auto-expand directories passed to
Analyzer.analyze()to a list of Dart source files using the added methodfindDartSourceFiles(). - Add tests for
Analyzer.analyze()task. - Add
sourceDirsandexistingSourceDirsto return the projects top-level directories usually containing Dart source files. - Deprecate the
Testsclass (in favor ofTestRunner) - Add
lineLengthas an optional argument toDartFmt.format
0.7.1+3 (2015/5/24) #
- Fix bug with Dart.run/runAsync. Args were swapped.
0.7.1+2 (2015/5/24) #
- Add a
Dart.runAsyncstatic method.
0.7.1+1 (2015/5/19) #
- Add a
filesparam toTestRunner.test.
0.7.1 (2015/5/19) #
- Added
grind --completion installcommand to install tab-completion for task names and options ingrind. - Improved
grind -h(help) output. Dart.runnow takes an optionalvmArgs, a list of arguments passed to the Dart VM.- Added
downgrademethod doPub. - Introduce
RunOptionsto support allProcess.run/Process.startparameters. TheworkingDirectoryparameter is now deprecated in all methods, useRunOptions.workingDirectoryinstead. - Added
PubApp.runAsync. - In
Dart.run, deprecate the vmNewGenHeapMB and vmOldGenHeapMB options. - Added support for passing lists of files or directories to
DartFmt.format(). Analyzer.analyzeFilesis deprecated in favor ofAnalyzer.analyze.- Added a
Pub.global.list()method to list the installed applications. - added a
TestRunnerclass - a wrapper around the newtestpackage.
0.7.0 (2015/4/20) #
- Big changes! Task definitions are now primarily annotation based; see the readme for more information and an example
- The
GrinderContextarg is no longer expected in task functions. Instead, thecontextvariable (and thelogandfailfunctions) are available as global variables. They're injected into the zone running the current task. pub [global] run grinder:grindno longer work, usepub [global] run grinderinstead. Add:grinderif usingpub runin Dart SDK < 1.10.copyFileandcopyDirectoryand deprecated in favor of a newcopymethoddeleteEntityis deprecated in favor of a newdeletemethod- Renamed
runProcess/runProcessAsync/runDartScripttorun/runAsync/Dart.run. Process result info (stdout, stderr, exitCode) is now exposed by these methods and some others which call them. - Added a wrapper class around
pub global activate/run/pub runapplications -PubApp - Grinder can now create a simple starter script for a project - run
pub run grinder:init
0.6.5 (2015/1/13) #
- added
defaultInit()anddefaultClean()methods, for common tasks - added methods for Pub.global.activate and Pub.global.run
- added an optional
workingDirectoryargument to more methods - added a
--versioncommand line flag - have the version command check to see if there's a newer version of grinder available
- the dart2js compile tasks now create the output directory if it doesn't exist
0.6.4 - 2014-12-18 #
- clarify that users should put their build scripts in
tools/grind.dart - add a
getSdkDirmethod
0.6.2 - 2014-11-13 #
- widen the version constraint on
quiver
0.6.1 - 2014-10-12 #
- widen the version constraint on
args
0.6.0 - 2014-09-22 #
The convenience API is now more terse:
- the
defineTask()method has been renamed totask() - instead of named parameters, the
task()function now uses optional positional parameters
Added two new entrypoint files in bin/: grind.dart and grinder.dart. These
let you run grinder via:
pub run grinder test
They look for a corresponding grinder script in the tool directory
(bin/grind.dart looks for tool/grind.dart and bin/grinder.dart looks for
tool/grinder.dart). If they find a corresponding script they run it in a new
Dart VM process. This means that projects will no longer have to have a
grind.sh script in the root of each project.
PubTool's build methods now take an optional workingDirectory argument.
Removed runSdkBinary and runSdkBinaryAsync, and they are no longer needed.
Use runProcess and runProcessAsync instead.
The methods on PubTools and Dart2jsTools are now static - you no longer need
to create an instance to use them. Also, PubTools was renamed to Pub and
Dart2jsTools was renamed to Dart2js. And a new utility class for
dartanalyzer - Analyzer - was created.
0.5.7 - 2014-07-28 #
- added
runProcessAsync()and related async methods (such asPubTools.buildAsync(...)) - removed duplicated stack traces when the build fails with exceptions
- throw an exception when running SDK binaries, and we are not able to locate the Dart SDK