Watermelon-Sauce/htmlValidator — pull request #10 by paularmstrong (2012-03-31 15:56:27+00:00)
Title: Refactor lint and test runners into makefile

Turns out that the runlint.js and runtest.js scripts were pretty unnecessary. This change removes them and relies on the makefile explicitly for calling the binaries for linting and testing.

Example Usage
-------------

**test**

```sh
make test
make test reporter=spec
make test opts="-g 'foobar'"
make test tests=lib/elements.test.js
make test tests="lib/elements.test.js lib/datatypes.test.js"

make watch-tests
make watch-tests opts="-G"
make watch-tests tests=lib/elements.test.js
make watch-tests tests="lib/elements.test.js lib/datatypes.test.js"

make lint
make lint files=index.js
make lint files="index.js lib/elements.js"
```