Promises/A+ implementation written in TypeScript
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/Ten
test
.gitmodules
.travis.yml
Jakefile.js
LICENSE.txt
README.markdown
package.json

README.markdown

Ten.Promise

Promises/A+ implementation

For library users

See: Ten.Promise — Promises/A+ library

Requirements

To build Ten.Promise, following tools are needed:

  • Build tool: jake
  • TypeScript Compiler: tsc

If you run tests, following commands are needed:

Build and Test

Jake, the build tool for Node.js is used.

To build, execute:

$ jake

To run all tests available on command line interface:

$ jake test:all

To see all tasks:

$ jake --tasks

Options

You can pass several environment variables to let jake use another command name as follows.

$ jake TSC="node ../typescript/bin/tsc"

In this example, jake use node ../typescript/bin/tsc command instead of tsc command.

Here is list of environment variables which you can use.

  • TSC: command of TypeScript compiler (default value is tsc)
  • APLUS_TESTS: command of Promises/A+ tests (default value is promises-apluts-tests)
  • MOCHA: mocha command (default value is mocha)

License

This software is published under The MIT License.