Task Runner
Official website | API documentation | Report an issue
Task Runner is a collection of low-level libraries designed to make JavaScript application development easier. Check out the Task Runner website for information on working with tasks as well as sample code and demos.
Please feel free to contact me directly with any suggestions or requests!
Installing Task Runner
Task Runner can be installed in any of the following ways:
- Clone & build this repository.
- Download a release.
- Bia Bower, by running
bower install task-runner
. - Via NPM, by running
npm install task-runner-js
.
Task Runner can be loaded via a <script>
tag or used with AMD or CommonJS. If a <script>
tag is used the library is registered under a global tr
variable.
Debugging Task Runner
Debug logging can be enabled for Task Runner by setting a window.DEBUG
environment variable to TRUE
.
If debug mode is enabled, tasks will also track the context (stack) when they are created. This information can be accessed using the getCreationContext()
method.
Building
Task Runner automated tests
Begin by running npm install
to install Karma and other dependencies.
You can then run tests once using:
gulp test
Or you can run tests each time a file in the source
or tests
directory changes using:
gulp test:watch
Building Task Runner
Begin by running npm install
to install the TypeScript compiler and gulp dependencies. Then run the following command from the root of the Task Runner checkout:
gulp build