H
H
HamSter2016-04-06 17:56:41
Programming
HamSter, 2016-04-06 17:56:41

How to properly use gulp assembly?

How do you use gulp assembly when building or programming, for each project you re-install and compile everything, or you can somehow use one for all projects (for example, pick up the dist release folder, but I’m not sure what to do this right)?!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
L
lavezzi1, 2016-04-06
@HamSter007

After 2-3 projects, a basis of tasks is formed, which you then drag from project to project, in particular to a new one. Especially if the projects are of the same type, for example, just layout. And so depending on the tasks, of course. Why drag something if it will not be used.

K
Konstantin Kitmanov, 2016-04-06
@k12th

for each project, re-install and compile everything

I personally set everything separately for each project, each project should be as independent as possible from others.
You can write one or more gulp tasks, put them on github, install them via npm, and thus reuse them.

O
Oleg, 2016-04-06
@werty1001

For small and medium freelance layout I use one assembly, in the gallp file it is enough to indicate the name of the active project and go ahead. For convenience, all project folder names begin with a prefix, such as wp_site or html_site, and different commands are executed depending on the prefix.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question