Skip to content

Commit

Permalink
Fixed CB-413 - you can now run tests on Windows (see README under Kno…
Browse files Browse the repository at this point in the history
…wn Issues if you are still having problems). Also added Anis to contributors, and bumped node engine requirement in package.json to 0.6.15
  • Loading branch information
filmaj committed Apr 20, 2012
1 parent 67ca7b3 commit acb911a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,18 @@ This will run the `build`, `hint` and `test` tasks by default. All of the availa
- `btest`: creates a server so you can run the tests inside a browser
- `clean`: cleans out the `pkg/` directory
- `hint`: runs all of the script files through JSHint
- `fixtabs`: converts all tabs to four spaces within the script files
- `fixwhitespace`: converts all tabs to four spaces, removes carriage returns and cuts out trailing whitespace within the script files

## Known Issues

- On Mac OS 10.7.3, there were issues with the contextify module not
being able to build properly when using node v0.6.10 and running `npm
install`. Using node v0.6.6 works, though.
- On Windows, when you run `npm install`, you may get errors regarding
contextify. This is necessary for running the tests. Make sure you
are running node v0.6.15 at the least (and npm v1.1.16 which should
come bundled with node 0.6.15). Also, install [Python 2.7.x](http://python.org/download/releases/2.7.3) and [Visual C++ 2010 Express](http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-cpp-express). When that is done, run `npm install` again and it should build
contextify natively on Windows.

# How It Works

Expand Down
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"author": "Gord Tanner <[email protected]> (http://github.com/gtanner)",
"name": "cordova-js",
"description": "Cordova JavaScript: a unified JavaScript layer for the Cordova suite of projects enabling cross-platform native mobile development of applications using HTML, CSS and JavaScript.",
"version": "0.0.1",
"version": "1.6.1",
"homepage": "http://incubator.apache.org/cordova/",
"repository": {
"type":"git",
"url": "http://git-wip-us.apache.org/repos/asf/incubator-cordova-js.git"
},
"engines": {
"node": "~0.5.10"
"node": "~0.6.15"
},
"contributors":[
{
Expand Down Expand Up @@ -39,10 +39,14 @@
{
"name":"Becky Gibson",
"email":""
},
{
"name":"Anis Kadri",
"email":""
}
],
"dependencies": {
"jsdom":"0.2.10",
"jsdom":"0.2.14",
"connect":"1.8.5"
},
"devDependencies": {}
Expand Down

0 comments on commit acb911a

Please sign in to comment.