Fix lint errors breaking travis CI

This commit is contained in:
Andrew Grieve 2015-03-31 10:07:27 -04:00
parent d96d49329b
commit b8f2b8948f
2 changed files with 35 additions and 35 deletions

View File

@ -1,32 +1,32 @@
{ {
"name": "cordova-android", "name": "cordova-android",
"version": "4.0.0-dev", "version": "4.0.0-dev",
"description": "cordova-android release", "description": "cordova-android release",
"main": "bin/create", "main": "bin/create",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://git-wip-us.apache.org/repos/asf/cordova-android.git" "url": "https://git-wip-us.apache.org/repos/asf/cordova-android.git"
}, },
"keywords": [ "keywords": [
"android", "android",
"cordova", "cordova",
"apache" "apache"
], ],
"scripts": { "scripts": {
"test": "npm run jshint && jasmine-node --color spec", "test": "npm run jshint && jasmine-node --color spec",
"test-build": "rm -rf \"test create\"; ./bin/create \"test create\" com.test.app 応用 && \"./test create/cordova/build\" && rm -rf \"test create\"", "test-build": "rm -rf \"test create\"; ./bin/create \"test create\" com.test.app 応用 && \"./test create/cordova/build\" && rm -rf \"test create\"",
"jshint": "node node_modules/jshint/bin/jshint bin && node node_modules/jshint/bin/jshint spec" "jshint": "node node_modules/jshint/bin/jshint bin && node node_modules/jshint/bin/jshint spec"
}, },
"author": "Apache Software Foundation", "author": "Apache Software Foundation",
"license": "Apache version 2.0", "license": "Apache version 2.0",
"dependencies": { "dependencies": {
"q": "^0.9.0", "q": "^0.9.0",
"shelljs": "^0.2.6", "shelljs": "^0.2.6",
"which": "^1.0.5" "which": "^1.0.5"
}, },
"devDependencies": { "devDependencies": {
"jasmine-node": "~1", "jasmine-node": "^1.14.5",
"jshint": "^2.6.0", "jshint": "^2.6.0",
"promise-matchers": "~0" "promise-matchers": "~0"
} }
} }

View File

@ -27,8 +27,8 @@ describe("create", function () {
var valid = [ var valid = [
"org.apache.mobilespec" "org.apache.mobilespec"
, "com.example" , "com.example"
, "com.floors42.package", , "com.floors42.package"
, "ball8.ball8.ball8ball", , "ball8.ball8.ball8ball"
]; ];
var invalid = [ var invalid = [
"" ""
@ -41,9 +41,9 @@ describe("create", function () {
, "_underscore.anything" , "_underscore.anything"
, "underscore._something" , "underscore._something"
, "_underscore._all._the._things" , "_underscore._all._the._things"
, "8.ball", , "8.ball"
, "8ball.ball", , "8ball.ball"
, "ball8.8ball", , "ball8.8ball"
, "ball8.com.8ball" , "ball8.com.8ball"
]; ];