Multi-project construction method based on Node.js

The invention discloses a multi-project construction method based on Node.js. According to the method, construction and compression of multiple projects are achieved by setting a configuration file and executing a command through a command line, and project construction is configured through the con...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: GAO MEIRONG, LIN DONG, AN XIAOBO, ZHU JIXUE
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a multi-project construction method based on Node.js. According to the method, construction and compression of multiple projects are achieved by setting a configuration file and executing a command through a command line, and project construction is configured through the configuration file. The construction of the plurality of projects is realized by using a childprocess module of Node.js (Node.js). According to the method, the basic code catalog is created in the form of the scaffold, the unified construction command is provided for the outside, different construction commands are executed in the scaffold according to different frames, and construction is performed in a multi-process mode, so that the construction time is shortened, and the construction efficiency is improved. Configurable and multi-process construction and compression of a multi-project project are realized by using a Node.js related technology, the process of constructing and deploying the multi-project project is