CN108647010A - A kind of method, terminal device and the storage medium of projects initialization - Google Patents
A kind of method, terminal device and the storage medium of projects initialization Download PDFInfo
- Publication number
- CN108647010A CN108647010A CN201810390081.9A CN201810390081A CN108647010A CN 108647010 A CN108647010 A CN 108647010A CN 201810390081 A CN201810390081 A CN 201810390081A CN 108647010 A CN108647010 A CN 108647010A
- Authority
- CN
- China
- Prior art keywords
- file
- script
- template
- text
- initialization
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000004590 computer program Methods 0.000 claims description 18
- 230000032258 transport Effects 0.000 claims 1
- 238000011161 development Methods 0.000 abstract description 6
- 230000006870 function Effects 0.000 description 13
- 230000008569 process Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 230000004044 response Effects 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 239000000470 constituent Substances 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 238000013519 translation Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/20—Software design
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/35—Creation or generation of source code model driven
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses method, terminal device and the storage medium of a kind of initialization of projects, the initialization of data suitable for project development.Method provided by the invention includes:Script is write, and executes the script, to create basic engineering file;Predefined file template, after receiving content of text input by user, reads the content of text, according to the content of text, the file template is converted to User-defined template file;Script warehouse is automatically generated, and initialize to the script warehouse according to the index file for the basic engineering file and the self-defined template file generated index file.Traditional project file is overcome in the present invention and initializes the operations such as cumbersome addition, arrangement, leads to the problem that working efficiency is low, and the project that improves initializes efficiency, and then accelerates the progress of work, reduces unnecessary resource consumption.
Description
Technical field
The present invention relates to field of software development more particularly to a kind of method of projects initialization, terminal device and deposit
Storage media.
Background technology
In project development process, especially during modularization, to improve development efficiency, it is often required to use stage die
Plate, the engineering template that system provides cannot be used directly, need first to carry out it initialization operation before use, be initialized
It is to execute necessary order, addition material and arranged to project file.
However, existing initializationization method usually needs a rule order to input, and addition arranges the document manually, in this way
Process it is quite time-consuming, for huge project development, this mode especially seems under efficiency.
Therefore, it is necessary to propose a kind of efficient initial method.
Invention content
In view of this, an embodiment of the present invention provides method, server and the storage medium of a kind of initialization of projects,
To solve the problems, such as that engineering initializes inefficiency.
The embodiment of the present invention in a first aspect, the method for providing a kind of initialization of projects, including:
Script is write, and executes the script, to create basic engineering file;
Predefined file template, after receiving content of text input by user, reads the content of text, according to described
The file template is converted to User-defined template file by content of text;
For the basic engineering file and the self-defined template file generated index file, according to the index file,
Script warehouse is automatically generated, and the script warehouse is initialized.
The second aspect of the embodiment of the present invention provides a kind of terminal device of projects initialization, including:
Creation module:For writing script, and the script is executed, to create basic engineering file;
Custom block:For predefining file template, after receiving content of text input by user, the text is read
The file template is converted to User-defined template file by this content according to the content of text;
Initialization module:For for the basic engineering file and the self-defined template file generated index file, root
According to the index file, script warehouse is automatically generated, and initialize to the script warehouse.
The third aspect of the embodiment of the present invention, provides a kind of terminal device, including memory, processor and is stored in
In the memory and the computer program that can run on the processor, when the processor executes the computer program
It realizes such as the step of first aspect the method for the embodiment of the present invention.
The fourth aspect of the embodiment of the present invention, provides a kind of computer readable storage medium, described computer-readable to deposit
Storage media is stored with computer program, realizes that first aspect of the embodiment of the present invention carries when the computer program is executed by processor
The step of the method for confession.
5th aspect of the embodiment of the present invention, provides a kind of computer program product, the computer program product packet
Computer program is included, realizes that first aspect of the embodiment of the present invention carries when the computer program is executed by one or more processors
The step of the method for confession.
In the embodiment of the present invention, basic engineering file is created by script, creates User Defined file, then pass through script
The auto-initiation for realizing All Files overcomes document creation, initialization procedure are cumbersome needed for Traditional project addition, arrangement
Deng operation, cause the problem that working efficiency is low so that projects can automatically create arrangement constituent instruments, and to engineering text
Part initializes, and initializes efficiency to improve project, accelerates the progress of work, reduce unnecessary time loss.
Description of the drawings
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description be only the present invention some
Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is the flow chart for the projects initial method that the embodiment of the present invention one provides;
Fig. 2 is the specific implementation flow chart of projects initial method provided by Embodiment 2 of the present invention;
Fig. 3 is the structure chart for the terminal device that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram for the terminal device that the embodiment of the present invention four provides.
Specific implementation mode
An embodiment of the present invention provides method, terminal device and the storage mediums of a kind of initialization of projects, are used for work
File initialization in journey project development.
In being described below, for illustration and not for limitation, it is proposed that such as tool of particular system structure, technology etc
Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific
The application can also be realized in the other embodiments of details.In other situations, it omits to well-known system, device, electricity
The detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
It should be appreciated that ought use in this specification and in the appended claims, the instruction of term " comprising " is described special
Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step,
Operation, element, component and/or its presence or addition gathered.
It is also understood that the term used in this present specification is merely for the sake of the mesh for describing specific embodiment
And be not intended to limit the application.As present specification and it is used in the attached claims, unless on
Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is
Refer to any combinations and all possible combinations of one or more of associated item listed, and includes these combinations.Such as
It is such used in this specification and in the appended claims, term " if " can be interpreted according to context
" when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if
Detect [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to determination " or
" once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to make the invention's purpose, features and advantages of the invention more obvious and easy to understand, below in conjunction with the present invention
Attached drawing in embodiment, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that disclosed below
Embodiment be only a part of the embodiment of the present invention, and not all embodiment.Based on the embodiments of the present invention, this field
All other embodiment that those of ordinary skill is obtained without making creative work, belongs to protection of the present invention
Range.
Embodiment one:
Referring to Fig. 1, the flow chart of projects initialization provided in an embodiment of the present invention, includes the following steps:
S101, script is write, and executes the script, to create basic engineering file.
The script is a kind of program that plain text preserves, and is equivalent to literal order, can pass through translation and execute.In the present invention
The execution of script described in embodiment can need the when of creating basic engineering file to directly invoke.The basic engineering file can
Including index file (such as Podfile files), project file (such as xcodeproject files), project file folder, preferably
, replace.m files can also be created, for handling file internal logic.
Optionally, the establishment basic engineering file may include:A file variable is defined, the script place is obtained
The file that creates a directory under the catalogue is moved into index file, project file by parent directory in being pressed from both sides to the catalogue file
Folder and project file, while in the file variable, creating identical index file, project file folder and project file.
S102, predefined file template, after receiving content of text input by user, read the content of text, root
According to the content of text, the file template is converted into User-defined template file.
User needs to name for this document, and determine file type when creating user-defined file.In the embodiment of the present invention
The middle file used has basic format, and the file for example, created is plus header file, the packet etc. of reference.Create self-defined text
When part, some file templates are pre-defined, the template can be different type, after receiving the input content of user, directly
It is user-defined file to connect predefined template switch.
Specifically, reading the content of text, the content of text includes the prefix and expression file for indicating filename
The suffix of type replaces the filename and suffix name of the file template with the filename and suffix name that read respectively.It uses
Customized function receives input text, the text is carried out capital and small letter conversion, then carry out character string replacement to template file, just
User-defined file can be created.It is avoided that the interim time loss that directly establishment file is brought in this way, accelerates to create speed, meanwhile,
The operation that substance is added in the less file for establishment, improves efficiency.
S103, it is the basic engineering file and the self-defined template file generated index file, according to the index
File automatically generates script warehouse, and is initialized to the script warehouse.
Include the project file of establishment in the index file, it, can be according to already present file after the completion of establishment file
The index file of generation.The index file is equivalent to catalogue, according to index file and its corresponding project file, generates script
Warehouse, the script warehouse include the All Files of current engineering, are initialized by git orders.
Optionally, above-mentioned initialization is specially:After parent directory where obtaining current script, git init orders are executed, it is right
The script warehouse initialization, and add hiding git files.
Optionally, described to further include:After getting the index file, install orders are executed, so as to described basic
Project file and self-defined template initialization, meanwhile, it can be executed according to the corresponding file that finds of the index file
Install orders, will be in the file download to current engineering.
Preferably, above-mentioned steps S101, S102, S103 can be realized automatic execution, completed initial by the script write
Change.
The quick establishment of basic engineering file, user-defined file, Er Qieneng not only may be implemented in embodiments of the present invention
It is enough that auto-initiation is carried out to the file, project development efficiency is provided significantly.
Embodiment two:
Referring to Fig. 2, the specific implementation flow chart of projects initialization provided in an embodiment of the present invention, details are as follows:
In the script write, a file is defined, entitled folder is set as script variable, which is
Example instantiates an example file that is, in S101, and this document folder can be the name of engineering project in practice
Word.
It is got in S202 and preserves the path using the path of definition after script parent directory, continued create after execution
Before shellFolder files, need to confirm under the current paths path, there are example files.When condition establishment, confirm
After example files, executes and create operation.
Podfile files described in S203 is an index file initialized to project, and subsequent initialization is facilitated to operate.
In S204, S205, constituent instruments, the file used in projects exploitation are created, it is described
Include the reference of source file in project.xcodeproject files, organize source file and compiling configuration file, it is described
Assets files are for storing material, and the Class files are for storing class name.
The S205 further includes creating replace.m files, for handling file internal logic.
Customized file is needed for user, needs to pre-define some templates, by receiving text input by user
Content reads prefix using custom function and suffix replaces the predefined title of file template after capital and small letter is converted
And suffix name, such S206 just complete the establishment of self-defined template.
The S206 further includes carrying out taxonomic revision to the file under the paths path.
In example files in the following, in the presence of the index file created, the index file executes install orders,
It can be initialized to indexing corresponding file, the install orders can find corresponding file according to index, and can incite somebody to action
In the file download to engineering.
It is initialized project file in S207, also needs to initialize entire engineering in the embodiment of the present invention, S208
Middle original document warehouse detailed process is:Current script parent directory is obtained, git init orders are executed, script warehouse is carried out just
Beginningization, and some git files being substantially concealed are added, allow the script warehouse to have git trustship abilities.
After S208, only with the file opened using script command under the paths path, so that it may to show implementing result
User.
As can be seen from the above description, operated described in the embodiment of the present invention can automatically be held by script command realization
Row, reduces artificial establishment, housekeeping.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process
Execution sequence should be determined by its function and internal logic, the implementation process of the embodiments of the invention shall not be constituted with any limitation
Embodiment three:
A kind of method of projects initialization, the end that will be initialized below to a kind of projects are essentially described above
End equipment is described in detail.
Fig. 3 shows the terminal device structure chart of projects initialization provided in an embodiment of the present invention, including:
Creation module 310:For writing script, and the script is executed, to create basic engineering file;
Optionally, the creation module 310 is specifically used for:Define a file variable;Father where obtaining the script
The file that creates a directory under the catalogue is moved into index file, project file folder by catalogue in being pressed from both sides to the catalogue file
And project file, while in the file variable, creating identical index file, project file folder and project file.
Custom block 320:For predefining file template, after receiving content of text input by user, institute is read
Content of text is stated, according to the content of text, the file template is converted into User-defined template file;
Optionally, the custom block 320 is specifically used for:The content of text is read, the content of text includes
It indicates the prefix of filename and indicates the suffix of file type, replace the file with the filename and suffix name that read respectively
The filename and suffix name of template.
Initialization module 330:For for the basic engineering file and the self-defined template file generated index file,
According to the index file, script warehouse is automatically generated, and initialize to the script warehouse.
Optionally, the initialization module 330 further includes:
Template initialization unit:After getting the index file, install orders are executed, so as to the basic work
Journey file and self-defined template initialization, meanwhile, it can be executed according to the corresponding file that finds of the index file
Install orders, will be in the file download to current engineering
Optionally, the initialization module 330 specifically includes:
Warehouse initialization unit:After parent directory where obtaining current script, git init orders are executed, to the script storehouse
Library initialization, and add hiding git files.
Preferably, the creation module 310, custom block 320, initialization module 330 can add script realization and be somebody's turn to do
The function that module has.
Example IV:
Fig. 4 is the structural schematic diagram of the terminal device for the projects initialization that one embodiment of the invention provides.The end
End equipment, to have the mobile computer device of touch screen, including but not limited to smart mobile phone, smartwatch, notebook, tablet
Computer, POS machine even include vehicle-mounted computer.As shown in figure 4, the terminal device 4 of the embodiment includes:Memory 410, processor
420, the memory 410 includes the program 4101 run of storage thereon, it will be understood by those skilled in the art that in Fig. 4
The terminal device structure shown does not constitute the restriction to terminal device, may include components more more or fewer than diagram, or
Person combines certain components or different components arrangement.
Each component parts of terminal device is specifically introduced with reference to Fig. 4:
Memory 410 can be used for storing software program and module, and processor 420 is stored in memory 410 by operation
Software program and module, to execute various function application and the data processing of terminal.Memory 410 can include mainly
Storing program area and storage data field, wherein storing program area can storage program area, the application journey needed at least one function
Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored to be created according to using for terminal
Data (such as audio data, phone directory etc.) etc..It, can be in addition, memory 410 may include high-speed random access memory
Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states
Part.
Method comprising projects initialization on memory 410 runs program 4101, described to run program
4101 can be divided into one or more module/units, and one or more of module/units are stored in the memory
It in 410, and is executed by processor 420, with the transmission of completion notice and obtains notice realization process, one or more of moulds
Block/unit can be the series of computation machine program instruction section that can complete specific function, the instruction segment by describe it is described based on
Implementation procedure of the calculation machine program 4101 in the terminal device 4.For example, the computer program 4101 can be divided into wound
Model block, custom block and initialization module.
Processor 420 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connection
A part by running or execute the software program and/or module that are stored in memory 410, and calls and is stored in storage
Data in device 410 execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Optionally, it handles
Device 420 may include one or more processing units;Preferably, processor 420 can integrate application processor and modulation /demodulation processing
Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located
Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 420.
Terminal device may also include at least one sensor, such as optical sensor, motion sensor and other sensors,
A kind of input equipment, for example, touch screen, keyboard and other, a kind of output equipment, for example, loud speaker, display and other, it is optional
, in embodiments of the present invention, input equipment can be used for inputting instruction, create user-defined file, and output equipment can be used for showing
Script implementing result shows the file for creating and generating to user.Details are not described herein for other component parts.
In embodiments of the present invention, the program that runs of the execution of processor 420 included by the terminal is specially:
The method of projects initialization, which is characterized in that including:
Script is write, and executes the script, to create basic engineering file;
Predefined file template, after receiving content of text input by user, reads the content of text, according to described
The file template is converted to User-defined template file by content of text;
For the basic engineering file and the self-defined template file generated index file, according to the index file,
Script warehouse is automatically generated, and the script warehouse is initialized.
Further, described to write script, and the script is executed, include to create basic engineering file:
Define a file variable;
Parent directory where obtaining the script, by the file that creates a directory under the catalogue, to the catalogue file
Index file, project file folder and project file are moved into folder, while in the file variable, create identical index text
Part, project file folder and project file.
Further, the file template is converted to use by the reading content of text according to the content of text
Family self-defined template file is specially:
The content of text is read, the content of text includes after indicating the prefix of filename and indicating file type
Sew, replaces the filename and suffix name of the file template with the filename and suffix name that read respectively.
Further, described also to be wrapped for the basic engineering file and the self-defined template file generated index file
It includes:
After getting the index file, install orders are executed, to the basic engineering file and described to make by oneself
Adopted template initialization, meanwhile, install orders can be executed according to the corresponding file that finds of the index file, it will be described
In file download to current engineering.
Further, described to be specially to script warehouse initialization:
After parent directory where obtaining current script, git init orders are executed, the script warehouse is initialized, and adds
Hiding git files.
Further, above method can realize the step of automatic execution the method includes by adding script.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment
The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that each embodiment described in conjunction with the examples disclosed in this document
Module, unit and/or method and step can be realized with the combination of electronic hardware or computer software and electronic hardware.This
A little functions are implemented in hardware or software actually, depend on the specific application and design constraint of technical solution.Specially
Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not
It is considered as beyond the scope of this invention.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit
It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer read/write memory medium.Based on this understanding, the present invention realizes above-described embodiment side
All or part of flow in method can also instruct relevant hardware to complete, the computer by computer program
Program can be stored in a computer readable storage medium, and the computer program is when being executed by processor, it can be achieved that above-mentioned each
The step of a embodiment of the method..Wherein, the computer program includes computer program code, the computer program code
Can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium can
To include:Can carry the computer program code any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc,
CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random
Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that the computer
The content that readable medium includes can carry out increase and decrease appropriate according to legislation in jurisdiction and the requirement of patent practice, such as
In certain jurisdictions, according to legislation and patent practice, computer-readable medium does not include electric carrier signal and telecommunication signal.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although with reference to before
Stating embodiment, invention is explained in detail, it will be understood by those of ordinary skill in the art that:It still can be to preceding
The technical solution recorded in each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
Modification or replacement, the spirit and scope for various embodiments of the present invention technical solution that it does not separate the essence of the corresponding technical solution.
Claims (10)
1. a kind of method of projects initialization, which is characterized in that including:
Script is write, and executes the script, to create basic engineering file;
Predefined file template, after receiving content of text input by user, reads the content of text, according to the text
The file template is converted to User-defined template file by content;
For the basic engineering file and the self-defined template file generated index file, according to the index file, automatically
Script warehouse is generated, and the script warehouse is initialized.
2. according to the method described in claim 1, it is characterized in that, described write script, and the script is executed, to create base
This project file includes:
Define a file variable;
Parent directory where obtaining the script, by the file that creates a directory under the catalogue, in being pressed from both sides to the catalogue file
Move into index file, project file folder and project file, while in the file variable, create identical index file,
Project file presss from both sides and project file.
3. according to the method described in claim 1, it is characterized in that, described read the content of text, according in the text
Hold, the file template, which is converted to User-defined template file, is specially:
The content of text is read, the content of text includes the suffix of the prefix and expression file type that indicate filename,
The filename and suffix name of the file template are replaced with the filename and suffix name that read respectively.
4. according to the method described in claim 1, it is characterized in that, described is the basic engineering file and the self-defined mould
Plate file generated index file further includes:
After getting the index file, install orders are executed, so as to the basic engineering file and the self-defined mould
Plate initializes, meanwhile, install orders can be executed according to the corresponding file that finds of the index file, by the file
It downloads in current engineering.
5. according to the method described in claim 1, it is characterized in that, described be specially to script warehouse initialization:
After parent directory where obtaining current script, git init orders are executed, the script warehouse is initialized, and adds and hides
Git files.
6. according to claim 1-5 any one of them methods, which is characterized in that the method can be realized by adding script
It is automatic to execute the step of the method includes.
7. a kind of terminal device of projects initialization, which is characterized in that including:
Creation module:For writing script, and the script is executed, to create basic engineering file;
Custom block:For predefining file template, after receiving content of text input by user, read in the text
Hold, according to the content of text, the file template is converted into User-defined template file;
Initialization module:For for the basic engineering file and the self-defined template file generated index file, according to institute
Index file is stated, automatically generates script warehouse, and initialize to the script warehouse.
8. terminal device according to claim 7, which is characterized in that the initialization module further includes:
Template initialization unit:After getting the index file, install orders are executed, so as to basic engineering text
Part and self-defined template initialization, meanwhile, install can be executed according to the corresponding file that finds of the index file
Order, will be in the file download to current engineering.
9. a kind of server, including memory, processor and it is stored in the memory and can transports on the processor
Capable computer program, which is characterized in that the processor is realized when executing the computer program as in claim 1 to 6
The step of method of any one projects initialization.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, feature to exist
In realizing that projects initialize as described in any one of claim 1 to 6 when the computer program is executed by processor
The step of method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810390081.9A CN108647010B (en) | 2018-04-27 | 2018-04-27 | Project engineering initialization method, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810390081.9A CN108647010B (en) | 2018-04-27 | 2018-04-27 | Project engineering initialization method, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108647010A true CN108647010A (en) | 2018-10-12 |
CN108647010B CN108647010B (en) | 2021-11-26 |
Family
ID=63748171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810390081.9A Active CN108647010B (en) | 2018-04-27 | 2018-04-27 | Project engineering initialization method, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108647010B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110231935A (en) * | 2019-06-12 | 2019-09-13 | 上海达梦数据库有限公司 | A kind of method, apparatus, equipment and the storage medium of script execution and update |
CN110489106A (en) * | 2019-07-22 | 2019-11-22 | 北京字节跳动网络技术有限公司 | A kind of generation method, device, medium and the electronic equipment of project initial code |
CN110795088A (en) * | 2019-10-29 | 2020-02-14 | 京东数字科技控股有限公司 | Front-end engineering project construction method and tool, and computer-readable storage medium |
CN111209719A (en) * | 2019-12-31 | 2020-05-29 | 西安翔腾微电子科技有限公司 | Method, device, equipment and storage medium for automatically realizing IC design environment |
CN111506543A (en) * | 2020-04-22 | 2020-08-07 | 北京奕为汽车科技有限公司 | M file generation method and device |
WO2021022703A1 (en) * | 2019-08-08 | 2021-02-11 | 平安科技(深圳)有限公司 | Software project reconstruction method and device, and computer device and storage medium |
CN112579530A (en) * | 2020-12-14 | 2021-03-30 | 莱诺斯科技(北京)股份有限公司 | Data resource organization method and device of automatic test system |
CN113094033A (en) * | 2021-06-07 | 2021-07-09 | 南京沁恒微电子股份有限公司 | Engineering structure adaptation method of MCU integrated development environment |
CN113448591A (en) * | 2021-07-17 | 2021-09-28 | 绿漫科技有限公司 | Method for quickly creating iOS engineering based on python |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140059513A1 (en) * | 2012-08-27 | 2014-02-27 | Bank Of America | Creation and Uploading of Archives for Software Projects to Submission Portal |
CN104199667A (en) * | 2014-09-10 | 2014-12-10 | 南靖万利达科技有限公司 | Method and system for newly establishing MTK project and submitting codes |
US9311064B1 (en) * | 2006-09-19 | 2016-04-12 | United Services Automobile Association | Systems and methods for automated centralized build/merge management |
CN106502663A (en) * | 2016-10-17 | 2017-03-15 | 成都知道创宇信息技术有限公司 | A kind of front end project skeleton generating method |
CN107608710A (en) * | 2017-08-31 | 2018-01-19 | 华为技术有限公司 | Software project structure task collocation method and device based on Jenkins instruments |
CN107615239A (en) * | 2015-04-28 | 2018-01-19 | 谷歌有限责任公司 | For trustship and the architecture of issue software kit |
CN107741846A (en) * | 2017-09-22 | 2018-02-27 | 深圳航天科技创新研究院 | FPGA engineering process management optimizations design method, system and storage medium |
CN107871230A (en) * | 2016-09-23 | 2018-04-03 | 西门子公司 | Create automation engineering system, the method and computer program product of engineering project |
CN107885521A (en) * | 2017-12-11 | 2018-04-06 | 凌云天博光电科技股份有限公司 | Software engineering project automatically generates/update method, apparatus and system |
-
2018
- 2018-04-27 CN CN201810390081.9A patent/CN108647010B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9311064B1 (en) * | 2006-09-19 | 2016-04-12 | United Services Automobile Association | Systems and methods for automated centralized build/merge management |
US20140059513A1 (en) * | 2012-08-27 | 2014-02-27 | Bank Of America | Creation and Uploading of Archives for Software Projects to Submission Portal |
CN104199667A (en) * | 2014-09-10 | 2014-12-10 | 南靖万利达科技有限公司 | Method and system for newly establishing MTK project and submitting codes |
CN107615239A (en) * | 2015-04-28 | 2018-01-19 | 谷歌有限责任公司 | For trustship and the architecture of issue software kit |
CN107871230A (en) * | 2016-09-23 | 2018-04-03 | 西门子公司 | Create automation engineering system, the method and computer program product of engineering project |
CN106502663A (en) * | 2016-10-17 | 2017-03-15 | 成都知道创宇信息技术有限公司 | A kind of front end project skeleton generating method |
CN107608710A (en) * | 2017-08-31 | 2018-01-19 | 华为技术有限公司 | Software project structure task collocation method and device based on Jenkins instruments |
CN107741846A (en) * | 2017-09-22 | 2018-02-27 | 深圳航天科技创新研究院 | FPGA engineering process management optimizations design method, system and storage medium |
CN107885521A (en) * | 2017-12-11 | 2018-04-06 | 凌云天博光电科技股份有限公司 | Software engineering project automatically generates/update method, apparatus and system |
Non-Patent Citations (3)
Title |
---|
NIUJUNLI: "使用脚本实现自动化构建项目", 《HTTPS://BLOG.CSDN.NET/NIUJUNLI/ARTICLE/DETAILS/6517964》 * |
周宇 等: "基于Eclipse和Android系统的App开发平台搭建研究", 《青岛大学学报(工程技术版)》 * |
王建英: "试析Blade方式统一构建系统", 《电脑编程技巧与维护》 * |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110231935A (en) * | 2019-06-12 | 2019-09-13 | 上海达梦数据库有限公司 | A kind of method, apparatus, equipment and the storage medium of script execution and update |
CN110231935B (en) * | 2019-06-12 | 2023-06-30 | 上海达梦数据库有限公司 | Script execution and updating method, device, equipment and storage medium |
CN110489106A (en) * | 2019-07-22 | 2019-11-22 | 北京字节跳动网络技术有限公司 | A kind of generation method, device, medium and the electronic equipment of project initial code |
WO2021022703A1 (en) * | 2019-08-08 | 2021-02-11 | 平安科技(深圳)有限公司 | Software project reconstruction method and device, and computer device and storage medium |
CN110795088A (en) * | 2019-10-29 | 2020-02-14 | 京东数字科技控股有限公司 | Front-end engineering project construction method and tool, and computer-readable storage medium |
CN110795088B (en) * | 2019-10-29 | 2021-05-04 | 京东数字科技控股有限公司 | Front-end engineering project construction method and tool, and computer-readable storage medium |
CN111209719A (en) * | 2019-12-31 | 2020-05-29 | 西安翔腾微电子科技有限公司 | Method, device, equipment and storage medium for automatically realizing IC design environment |
CN111506543A (en) * | 2020-04-22 | 2020-08-07 | 北京奕为汽车科技有限公司 | M file generation method and device |
CN112579530A (en) * | 2020-12-14 | 2021-03-30 | 莱诺斯科技(北京)股份有限公司 | Data resource organization method and device of automatic test system |
CN112579530B (en) * | 2020-12-14 | 2024-05-14 | 莱诺斯科技(北京)股份有限公司 | Data resource organization method and device of automatic test system |
CN113094033A (en) * | 2021-06-07 | 2021-07-09 | 南京沁恒微电子股份有限公司 | Engineering structure adaptation method of MCU integrated development environment |
CN113448591A (en) * | 2021-07-17 | 2021-09-28 | 绿漫科技有限公司 | Method for quickly creating iOS engineering based on python |
Also Published As
Publication number | Publication date |
---|---|
CN108647010B (en) | 2021-11-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108647010A (en) | A kind of method, terminal device and the storage medium of projects initialization | |
CN101258496B (en) | Autocompleting with queries to a database | |
CN107885499A (en) | A kind of interface document generation method and terminal device | |
CN103548083B (en) | Based on the multimedia playback system and method for the e-book of PDF document | |
CN105739981A (en) | Code completion implementation method and device, and computing device | |
CN105683946A (en) | Seamless grid and canvas integration in a spreadsheet application | |
CN100492361C (en) | System and method for storing a document in a serial binary format | |
CN105427353A (en) | Compression and drawing method and device of scalable vector graphic | |
CN110688145B (en) | Android MVP code automatic generation method and device, medium and electronic equipment | |
CN104267966A (en) | Method and device for generating program codes of software | |
CN105373611A (en) | File display method and apparatus | |
CN106227716B (en) | A kind of system and method for realizing branching selection structure electrical documents editing | |
CN106326194A (en) | Directory generation method and apparatus applied to file format conversion scene | |
CN109828748A (en) | Code naming method, system, computer installation and computer readable storage medium | |
CN108139895A (en) | Font font preview | |
US20190310976A1 (en) | Search Results Modulator | |
CN110046637A (en) | A kind of training method, device and the equipment of contract paragraph marking model | |
CN105320669B (en) | Data storage, read method and data storage, reading device | |
CN113741864B (en) | Automatic semantic service interface design method and system based on natural language processing | |
CN107153557A (en) | It is a kind of based on the device and method operated under Linux system to BIOS | |
CN103984752A (en) | Animation resource retrieval management system | |
CN105528334A (en) | Document operation processing method and terminal | |
CN102609253B (en) | A kind of application implementation method of smart card and system | |
CN104156209B (en) | Cross-platform interface modeling method and device | |
CN109324733A (en) | In the content processing method and equipment of terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231207 Address after: No. 30, Group 2, Moziqiao Village, Jinghe New City, Xixian New District, Xi'an City, Shaanxi Province, 710000 Patentee after: Shaanxi Quanyitong Enterprise Management Consulting Co.,Ltd. Address before: 430000 East Lake Development Zone, Wuhan City, Hubei Province, No. 1 Software Park East Road 4.1 Phase B1 Building 11 Building Patentee before: WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |