Permalink
Browse files

Fixed CB-413 - you can now run tests on Windows (see README under Kno…

…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...
1 parent 67ca7b3 commit acb911a3cae28dca380ba29621d2fa9a3c991d7e @filmaj filmaj committed Apr 20, 2012
Showing with 13 additions and 4 deletions.
  1. +6 −1 README.md
  2. +7 −3 package.json
View
@@ -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
View
@@ -2,14 +2,14 @@
"author": "Gord Tanner <gtanner@gmail.com> (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":[
{
@@ -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": {}

0 comments on commit acb911a

Please sign in to comment.