Project engineering initialization method, terminal device and storage medium

A project engineering and initialization technology, applied in the field of project engineering initialization, can solve problems such as low project initialization efficiency, and achieve the effect of improving initialization efficiency, speeding up work process, and reducing unnecessary time consumption

Active Publication Date: 2018-10-12
WUHAN DOUYU NETWORK TECH CO LTD
View PDF9 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiment of the present invention provides a method, server, and storage medium for project initialization to solve the problem of low efficiency of project initialization

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Project engineering initialization method, terminal device and storage medium
  • Project engineering initialization method, terminal device and storage medium
  • Project engineering initialization method, terminal device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] see figure 1 , the flow chart of project engineering initialization provided by the embodiment of the present invention includes the following steps:

[0031] S101. Write a script and execute the script to create a basic project file.

[0032] The script is a program saved in plain text, which is equivalent to a text instruction and can be translated and executed. The execution of the script in the embodiment of the present invention can be directly invoked when a basic project file needs to be created. The basic project file may include an index file (such as a Podfile file), a project file (such as an xcodeproject file), a project folder, etc. Preferably, a replace.m file can also be created for processing the internal logic of the file.

[0033] Optionally, the creation of the basic project file may include: defining a folder variable, obtaining the parent directory where the script is located, creating a directory folder under the directory, and moving index files...

Embodiment 2

[0044] see figure 2 , the specific implementation flow chart of project initialization provided by the embodiment of the present invention is described in detail as follows:

[0045] In the written script, define a folder named folder and set it as a script variable whose value is example. That is, in S101, instantiate an example folder. In practice, the folder can be the name of the project .

[0046] After obtaining the parent directory of the script in S202, use the defined path to save the path. Before executing the subsequent creation of the shellFolder file, it is necessary to confirm that the example folder exists under the current path. When the condition is met, after confirming that the example folder exists, execute the creation operation.

[0047] The Podfile described in S203 is an index file for project initialization, which is convenient for subsequent initialization operations.

[0048] In S204 and S205, create the basic files and folders used in project en...

Embodiment 3

[0058] A method for project engineering initialization is mainly described above, and a terminal device for project project initialization will be described in detail below.

[0059] image 3 It shows the terminal device structure diagram of project engineering initialization provided by the embodiment of the present invention, including:

[0060] Creation module 310: for writing scripts and executing the scripts to create basic project files;

[0061] Optionally, the creation module 310 is specifically used to: define a folder variable; obtain the parent directory where the script is located, create a directory folder under the directory, and move index files, project files into the directory folder. folder and project file, and in the folder variable, create the same index file, project folder, and project file.

[0062] Customization module 320: used to predefine the file template, after receiving the text content input by the user, read the text content, and convert the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a project engineering initialization method, a terminal device and a storage medium, suitable for initializing data in project development. The method provided by the inventioncomprises the steps of: compiling a script, and executing the script to create a basic engineering file; pre-defining a file template, reading a text content after receiving the text content input bya user, and converting the file template into a user-defined template file according to the text content; and, generating index files for the basic engineering file and the user-defined template file, automatically generating a script warehouse according to the index files, and initializing the script warehouse. According to the project engineering initialization method, the terminal device and the storage medium disclosed by the invention, the problem that the working efficiency is low due to fussy operations of the traditional engineering file initialization, such as adding and consolidation, is overcome; the project initialization efficiency is increased; therefore, the work process is accelerated; and unnecessary resource consumption is reduced.

Description

technical field [0001] The invention relates to the field of software development, in particular to a project project initialization method, terminal equipment and a storage medium. Background technique [0002] In the process of project development, especially in the process of componentization, in order to improve development efficiency, project templates are often used. The project templates provided by the system cannot be used directly. Before using them, they need to be initialized. Execute necessary commands, add materials, and organize project files. [0003] However, the existing initialization methods often require inputting commands one by one and manually adding finishing files. Such a process is very time-consuming, and this method is especially inefficient for the development of huge projects. [0004] Therefore, it is necessary to propose an efficient initialization method. Contents of the invention [0005] In view of this, the embodiments of the present ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/20G06F8/35G06F8/41
CPCG06F8/20G06F8/35G06F8/41
Inventor 汪刚张文明陈少杰
Owner WUHAN DOUYU NETWORK TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products