Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

grunt-subgrunt

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-subgrunt - npm Package Compare versions

Comparing version 0.4.1 to 0.4.2

test/fixtures/array/Gruntfile.js

4

changelog.md

@@ -0,1 +1,5 @@

### v0.4.2 [view commit logs](https://github.com/tusbar/grunt-subgrunt/compare/v0.4.1...v0.4.2)
* Remove --gruntfile option when running subgrunts (by [rodolpheche](https://github.com/rodolpheche))
### v0.4.1 [view commit logs](https://github.com/tusbar/grunt-subgrunt/compare/v0.4.0...v0.4.1)

@@ -2,0 +6,0 @@

@@ -6,2 +6,5 @@ 'use strict';

// Load this plugin’s tasks
grunt.loadTasks('tasks');
grunt.initConfig({

@@ -16,2 +19,78 @@ jshint: {

}
},
clean: {
simple: [
'test/fixtures/simple/tmp'
],
array: [
'test/fixtures/array/tmp'
],
multiple: [
'test/fixtures/multiple/tmp'
],
multipleTasks: [
'test/fixtures/multipleTasks/tmp'
],
noProjectsObject: [
'test/fixtures/noProjectsObject/tmp'
],
npmInstall: [
'test/fixtures/npmInstall/node_modules',
'test/fixtures/npmInstall/tmp'
],
npmClean: [
'test/fixtures/npmClean/node_modules',
'test/fixtures/npmClean/tmp'
]
},
subgrunt: {
simple: {
projects: {
'test/fixtures/simple': 'build'
}
},
array: {
projects: [
'test/fixtures/array'
]
},
multiple: {
projects: [
'test/fixtures/multiple/multiple-1',
'test/fixtures/multiple/multiple-2'
]
},
multipleTasks: {
projects: {
'test/fixtures/multipleTasks': ['one', 'two']
}
},
noProjectsObject: {
'test/fixtures/noProjectsObject': 'default'
},
npmInstall: {
options: {
npmInstall: true
},
projects: [
'test/fixtures/npmInstall'
]
},
npmClean: {
options: {
npmInstall: true,
npmClean: true
},
projects: [
'test/fixtures/npmClean'
]
}
},
nodeunit: {
tests: [
'test/*_test.js'
]
}

@@ -21,3 +100,6 @@ });

grunt.registerTask('test', [
'jshint'
'jshint',
'clean',
'subgrunt',
'nodeunit'
]);

@@ -24,0 +106,0 @@

6

package.json
{
"name": "grunt-subgrunt",
"version": "0.4.1",
"version": "0.4.2",
"description": "Run sub-projects' grunt tasks.",

@@ -40,4 +40,6 @@ "repository": {

"grunt-contrib-jshint": "^0.10.0",
"load-grunt-tasks": "^0.6.0"
"grunt-contrib-nodeunit": "^0.4.1",
"grunt-contrib-clean": "^0.6.0",
"load-grunt-tasks": "^1.0.0"
}
}

@@ -47,2 +47,11 @@ 'use strict';

// removes --gruntfile arg # fixes issue #13
for (var i = 0; i < args.length; i++) {
var arg = args[i];
if (arg.indexOf('--gruntfile') > -1) {
args = args.slice(0, i).concat(args.slice(i + 1));
break;
}
}
grunt.util.spawn({

@@ -49,0 +58,0 @@ grunt: true,

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc