BB file generation method and device, electronic equipment and storage medium
A file generation and file configuration technology, applied in the computer field, can solve problems affecting the accuracy and efficiency of BB file generation, complex BB file syntax, waste of manpower and time, etc., to save manpower and time, improve generation efficiency and accuracy, reduce The effect of small dependencies
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0022] figure 1 It is a schematic flowchart of a method for generating a BB file provided by Embodiment 1 of the present invention. This embodiment is applicable to the case of writing a BB file, and the method can be executed by a device for generating a BB file. Such as figure 1 As shown, the method specifically includes the following steps:
[0023] Step 110: In response to the user's editing instruction of the BB file to be generated, determine whether there is an initial BB file in the BB file to be generated, and if not, determine the variables to be input based on the preset BB file configuration information.
[0024] Wherein, the BB file generation tool can be used to automatically generate the BB file, and the BB file generation tool can be realized by using a shell script, which can be a tool with a graphical interface. As a system recipe file, the BB file describes where to obtain the source code, how to configure the source code, how to compile the source code, a...
Embodiment 2
[0040] figure 2 It is a schematic flowchart of a method for generating a BB file provided by Embodiment 2 of the present invention. This embodiment is further optimized on the basis of the above embodiment, and the method can be executed by a device for generating a BB file. Such as figure 2 As shown, the method specifically includes the following steps:
[0041] Step 210, in response to the user's editing instruction of the BB file to be generated, determine whether there is an initial BB file in the BB file to be generated.
[0042] Step 220, if the initial BB file exists, display the current variable and current variable information in the initial BB file on the graphical interface, and determine the current language used by the code in the initial BB file.
[0043] Wherein, the user inputs a file name, and judges whether there is a BB file with the file name, and if a BB file with the file name already exists, then determine that the BB file is the initial BB file. If...
Embodiment 3
[0052] image 3 It is a structural block diagram of a BB file generation device provided in Embodiment 3 of the present invention, which can execute a BB file generation method provided in any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method. Such as image 3 As shown, the device specifically includes:
[0053] The variable to be input determination module 301 is used to respond to the editing instruction of the BB file to be generated by the user, and judge whether the BB file to be generated has an initial BB file, and if not, determine the variable to be input based on the preset BB file configuration information ;
[0054] A file code generation module 302, configured to obtain variable information of the variable to be input, and generate a BB file code associated with the variable to be input according to the variable information and preset code generation rules;
[0055] The BB file generati...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


