Skip to content

Commit

Permalink
#1 Fixed, up for version 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Nils Gajsek committed Mar 17, 2015
1 parent 0cb4054 commit 655b9ea
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package grunt-jscpd-reporter
* @author Nils Gajsek <[email protected]>
* @copyright 2014-2015 Nils Gajsek <[email protected]>
* @version 0.1.3
* @version 0.1.4
* @license http://opensource.org/licenses/MIT MIT Public
* @link http://www.linslin.org
*
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "grunt-jscpd-reporter",
"version": "0.1.3",
"version": "0.1.4",
"description": "Grunt JSCPD Reporter",
"main": "Gruntfile.js",
"scripts": {
Expand Down
5 changes: 4 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,15 @@ Take a look at the [Demo](http://linslin.org/grunt-jscpd-reporter/demo/)
## Requirement dependency
By using grunt-jscpd this extension will create an readable HTML file which is based on grunt-jscpd xml-output.

#### Build for grunt-jscpd 0.0.11
#### Build for jscpd & grunt-jscpd 0.0.11
Grunt task https://github.com/mazerte/grunt-jscpd is required.


## Release log

#### 0.1.4 Stable release
- Fixed issue #1 - https://github.com/linslin/grunt-jscpd-reporter/issues/1

#### 0.1.3 alpha release
- Added demo link and screenshots.

Expand Down
4 changes: 2 additions & 2 deletions tasks/jscpd-reporter.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* @package grunt-jscpd-reporter
* @author Nils Gajsek <[email protected]>
* @copyright 2014-2015 Nils Gajsek <[email protected]>
* @version 0.1.3
* @version 0.1.4
* @license http://opensource.org/licenses/MIT MIT Public
* @link http://www.linslin.org
*
Expand Down Expand Up @@ -235,7 +235,7 @@ module.exports = function(grunt) {
mkdirp(process.cwd() + '/' + config.options.outputDir + 'css/');
mkdirp(process.cwd() + '/' + config.options.outputDir + 'css/nsh/');

fs.appendFileSync(process.cwd() + '/' + config.options.outputDir + '/css/nsh/default.css',
fs.appendFileSync(process.cwd() + '/' + config.options.outputDir + 'css/nsh/default.css',
fs.readFileSync(path.join(__dirname) + '/../node_modules/node-syntaxhighlighter/lib/styles/shCoreDefault.css').toString()
+ fs.readFileSync(path.join(__dirname) + '/../node_modules/node-syntaxhighlighter/lib/styles/shCore.css').toString()
+ fs.readFileSync(path.join(__dirname) + '/../templates/css/jscpd-reporter.css').toString());
Expand Down

0 comments on commit 655b9ea

Please sign in to comment.