T
T
ttm2015-03-01 14:08:07
gulp.js
ttm, 2015-03-01 14:08:07

How to build a project correctly?

The general structure of projects:
AllProjects
- tools
- - lib
- - project1
- - project2
- - project3
- modules
- - module1
- - module2
lib - consists of several dozen js files that must be built in a certain order.
project1,2,3 - js and css are collected here. Since project1,2,3 require lib, it must be sewn into the inside of the project ...
In turn, one of the required project is sewn into modele1,2.
So in lib I created a tax that collects all js into one file.
When building a project, when js is being built, I must somehow call the lib task (do not specify the lib assembly in each project, which in turn will lead to module1,2,3)
What to use for such an assembly, or how to call dachshunds from tasks?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey B., 2015-03-01
@andykov

Why such difficulties? Here is a nice build

T
ttm, 2015-05-12
@TouchTheMind

It's not in my power to choose the structure =(

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question