Incremental build generation
First Claim
1. A computer-implemented method comprising:
- receiving a set of source code build instructions for building a complete software entity, wherein the set of source code build instructions includes a set of ordering instructions, the set of source code build instructions referencing a set of source code files corresponding to the complete software entity;
substituting all variables and expanding all procedures within the set of source code build instructions to produce analyzed source code build instructions for the complete software entity;
determining an incremental build subset for the set of source code files, wherein the incremental build subset comprises source code files that have changed since a previous build;
determining operations within the analyzed source code build instructions that reference files within the incremental build subset to produce a set of incremental operations;
determining a set of affected files corresponding to the set of incremental operations;
generating a set of incremental source code build instructions, based on the set of incremental operations and the set of affected files;
organizing the set of incremental operations based on the set of ordering instructions to generate a set of organized operations; and
wherein generating the set of incremental source code build instructions is based on the set of organized operations in combination with the set of source code build instructions, organized according to dependencies.
1 Assignment
0 Petitions
Accused Products
Abstract
A computer-implemented method includes receiving a set of complete source instructions to process a source code entity, an incremental build part, and a set of file definitions. The method analyzes the set of complete source instructions. The method identifies, from the set of analyzed source instructions, a set of operations that reference the incremental build subset. The method repeats: (i) determining, for each operation, whether any additional files are affected by the operation, the additional files forming a set of affected files; (ii) creating a combined set of files, the combined set of files consisting of the set of affected files and the incremental build subset; and (iii) updating the set of operations to include those from the analyzed source instructions that reference the combined set of files; until no new files are added to the combined set of files. The method generates a set of incremental source instructions.
36 Citations
3 Claims
-
1. A computer-implemented method comprising:
-
receiving a set of source code build instructions for building a complete software entity, wherein the set of source code build instructions includes a set of ordering instructions, the set of source code build instructions referencing a set of source code files corresponding to the complete software entity; substituting all variables and expanding all procedures within the set of source code build instructions to produce analyzed source code build instructions for the complete software entity; determining an incremental build subset for the set of source code files, wherein the incremental build subset comprises source code files that have changed since a previous build; determining operations within the analyzed source code build instructions that reference files within the incremental build subset to produce a set of incremental operations; determining a set of affected files corresponding to the set of incremental operations; generating a set of incremental source code build instructions, based on the set of incremental operations and the set of affected files; organizing the set of incremental operations based on the set of ordering instructions to generate a set of organized operations; and wherein generating the set of incremental source code build instructions is based on the set of organized operations in combination with the set of source code build instructions, organized according to dependencies. - View Dependent Claims (2, 3)
-
Specification