Skip to content
This repository has been archived by the owner. It is now read-only.

Commit

Permalink
Adding the scripts directory with the specs script
Browse files Browse the repository at this point in the history
  • Loading branch information
adomokos authored and mhevery committed Jan 17, 2012
1 parent 9df720e commit 320976e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Expand Up @@ -37,3 +37,18 @@ indicates passing (green) or failing (red) specs
* <code>--junitreport</code>, export tests results as junitreport xml format'

Checkout spec/SampleSpecs.js to see how to use it.


development
-----------
Install the dependent packages by running:

npm install

Run the specs before you send your pull request:

scripts/specs

or

scripts/specs --verbose
8 changes: 8 additions & 0 deletions scripts/specs
@@ -0,0 +1,8 @@
#!/bin/bash

if [ $# -ne 0 ]; then
command="node lib/jasmine-node/cli.js $1 spec"
$command
else
time node lib/jasmine-node/cli.js spec #/nested/uber-nested
fi

0 comments on commit 320976e

Please sign in to comment.