K
K
KidsKilla2012-03-27 12:37:54
JavaScript
KidsKilla, 2012-03-27 12:37:54

Node deployment tool

In general, the task: from a set of JS scripts, css and pictures, you need to assemble a new version of the library and roll it all out.

How it should be:
Part 1. Building JS
1. There are "core" files that must always be present
2. there are optional modules that can be built in any combination
. Moreover, each module has its own dependencies, described in JSDoc as @require my.Modulethat points to file ./my/Module.js
3. You need to collect a set of js files of all combinations:
Let's say for Alpha Beta modules:
0) core
1) core + Alpha
2) core + Beta
3) core + Alpha + Beta
4. Compile all combinations with some tool. Which one, we will still try, here you just need to be able to run the command

Part 2. Version building We launch the builder, specifying the
type of build: major, minor, replacing the existing one (for urgent jambs) or a
regular build regex to replace the paths to the pictures and the pictures themselves Part 3. Rolling out Next, you need to upload the new version to the server for testing, and then into battle, scatter the files in acc. places Node.js was chosen as a tool, the first part is already there, the remaining two need to be done. After going through the packages to the node, there were many deployment tools, but all of them have very different purposes and there are a lot of them.минор.мажор.билд




Tell me if there are those who will take over the 2nd and 3rd part?

PS, for part 3 perhaps the best is roco

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Silver_Clash, 2012-03-27
@Silver_Clash

Maven?

K
KidsKilla, 2012-03-28
@KidsKilla

Not a node...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question