grunt-jsdoc
Advanced tools
Comparing version 0.3.2 to 0.3.3
{ | ||
"name": "grunt-jsdoc", | ||
"description": "Integrates jsdoc3 generation into your Grunt build", | ||
"version": "0.3.2", | ||
"version": "0.3.3", | ||
"homepage": "https://github.com/krampstudio/grunt-jsdoc-plugin", | ||
@@ -46,5 +46,6 @@ "author": { | ||
"grunt", | ||
"jsdoc", | ||
"documentation", | ||
"jsdoc", | ||
"jsdoc3" | ||
] | ||
} |
@@ -95,2 +95,3 @@ # grunt-jsdoc-plugin [](https://travis-ci.org/krampstudio/grunt-jsdoc-plugin) | ||
* _0.3.2_ Fix [bug #32](https://github.com/krampstudio/grunt-jsdoc-plugin/issues/32) | ||
* _0.3.3_ Fix [bug #34](https://github.com/krampstudio/grunt-jsdoc-plugin/issues/34) and [bug #36](https://github.com/krampstudio/grunt-jsdoc-plugin/issues/34) | ||
* _0.2.0_ Migrate to grunt 0.4 | ||
@@ -97,0 +98,0 @@ * _0.2.1_ Fix [bug #10](https://github.com/krampstudio/grunt-jsdoc-plugin/issues/10) |
@@ -64,9 +64,14 @@ /** | ||
//lookup jsdoc | ||
jsDoc = exec.lookup(grunt, jsDocNpmPath, ['node_modules/grunt-jsdoc/', jsDocPath]); | ||
if(jsDocPath && grunt.file.exists(jsDocPath) && grunt.file.isFile(jsDocPath)){ | ||
//use the given jsdoc path if set | ||
jsDoc = jsDocPath; | ||
} else { | ||
//lookup jsdoc | ||
jsDoc = exec.lookup(grunt, jsDocNpmPath, ['node_modules/grunt-jsdoc/']); | ||
} | ||
//check if java is set | ||
if(!javaHome){ | ||
grunt.log.error("JAVA_HOME is not set, but java is required by jsdoc to run."); | ||
grunt.fail.warn('Wrong installation/environnement', errorCode.generic); | ||
grunt.log.error("JAVA_HOME is not set. Jsdoc requires Java to run."); | ||
} else { | ||
@@ -73,0 +78,0 @@ grunt.log.debug("JAVA_HOME : " + javaHome); |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
103989
27
1188
121
1
2