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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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 ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com