build-workflow
Advanced tools
Comparing version 0.0.20 to 0.0.21
@@ -130,6 +130,13 @@ module.exports = function ( grunt, pkg, options ) { | ||
glob = glob || './'; | ||
var files = glob.split( ',' ); | ||
var yuidoc = commonConfig.yuidoc || {}; | ||
var pathToConfig = yuidoc.config || path.resolve( __dirname, '../resources/json-configs/yuidoc.json' ); | ||
return lib.format( 'node_modules/yuidocjs/lib/cli.js {0} -c {1}', files, pathToConfig ); | ||
var projectName = pkg.name; | ||
var projectVersion = pkg.version; | ||
var files = yuidoc.files || glob.split( ',' ); | ||
var cmd = lib.format( 'node_modules/yuidocjs/lib/cli.js {0} -c {1} --project-name {2} --project-version {3}', files.join( ' ' ), pathToConfig, projectName, projectVersion ); | ||
return cmd; | ||
} | ||
@@ -136,0 +143,0 @@ }, |
@@ -47,3 +47,3 @@ var deps = [ | ||
'https://github.com/royriojas/karma-react-jsx-preprocessor/tarball/1824de4', | ||
'https://github.com/royriojas/yuidoc/tarball/exampleurl', | ||
'https://github.com/royriojas/yuidoc/tarball/ed6e335', | ||
'https://github.com/royriojas/grunt-jsbeautifier/tarball/e69f6ef', | ||
@@ -50,0 +50,0 @@ 'https://github.com/royriojas/docco-husky/tarball/f02aff8' |
{ | ||
"name": "build-workflow", | ||
"version": "0.0.20", | ||
"version": "0.0.21", | ||
"description": "Simple gruntfile helper to define build workflows", | ||
@@ -5,0 +5,0 @@ "main": "config-loader.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2015
142902