grunt-merge-copy's People
grunt-merge-copy's Issues
Second task causes an error "Warning: mergeCopy is not a function Use --force to continue."
I am trying two simple tasks. I have both directory a
and b
created with files in them and the two directories are in the root parallel to my Gruntfile.
If I just call grunt a
or grunt b
, it works beautifully, when I call the default task I get the error:
Gruntfile.js
module.exports = function (grunt) {
grunt.initConfig({
'merge-copy': {
a: {
options: {
destination: 'c',
directories: ['a', 'b']
}
},
b: {
options: {
destination: 'd',
directories: ['c', 'b']
}
}
}
});
grunt.loadNpmTasks('grunt-merge-copy');
grunt.registerTask('default', [
'merge-copy:a',
'merge-copy:b'
]
);
};
Terminal Output
grunt -vvv
Initializing
Command-line options: --verbose
Reading "Gruntfile.js" Gruntfile...OK
Registering Gruntfile tasks.
Initializing config...OK
Registering "grunt-merge-copy" local Npm module tasks.
Reading /Users/me/deployers/node_modules/grunt-merge-copy/package.json...OK
Parsing /Users/me/deployers/node_modules/grunt-merge-copy/package.json...OK
Loading "merge-copy.js" tasks...OK
+ merge-copy
Loading "Gruntfile.js" tasks...OK
+ default
No tasks specified, running default tasks.
Running tasks: default
Running "default" task
Running "merge-copy:a" (merge-copy) task
Verifying property merge-copy.a exists in config...OK
File: [no files]
Options: destination="c", directories=["a","b"]
Reading a/a.txt...OK
Writing c/a.txt...OK
Reading b/b.txt...OK
Writing c/b.txt...OK
Running "merge-copy:b" (merge-copy) task
Verifying property merge-copy.b exists in config...OK
File: [no files]
Options: destination="d", directories=["c","b"]
Warning: mergeCopy is not a function Use --force to continue.
Aborted due to warnings.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.