Merge multiple directories by dependencies to build WL or variants of the project.
$ npm install --save-dev gulp-target
Base project structure
/targets/targets/targetA - dir of the target `targetA`/targets/targetB - dir of the target `targetB`
Target must have
target.json file. These config is using for merge process.
Adding this into your
var gulp = ;var target = ;
dependencies - are the names of the folders inside
targetFolder. They will be included by order in the
baseDir - name of the folder, there targets are located.
targets by default
configName - name of the target config file.
target.json by default
var currentTarget = 'targetName'baseDir: 'target'configName: 'target.json';