

- #Installbuilder conditionally include component install
- #Installbuilder conditionally include component software
Builder's reproducible artifacts feature makes it possible to store references to all files and variables, so that builds can be re-created for future debugging.įor details on the commands that Builder offers, please see the Directives section. To speed up the process, files that are stored remotely which are not expected to change between builds can be cached for quick re-use. For example, if you need to generate multiple versions of your application firmware for versions of your product which make use of different imp modules, you can use Builder’s conditional execution features, variables and loops to pull your various code components together at build time and output files that are ready to be transferred to impCentral. While Builder can be used to insert code this way, it can be used in far more sophisticated ways thanks to its integrated expression processor and programming logic. Builder is able to access additional files that are stored on your computer or held remotely on an external resource (eg. You tell Builder which files to import, and where within your main source code they should be inserted, by using the command.

#Installbuilder conditionally include component software
These additional files might contain library code that you make use of across a number of different products, or they might contain confidential data which you don’t want to keep inside source code files that are managed through a software version control system. You can use Builder to pull the contents of separate code files into your main source code files.
#Installbuilder conditionally include component install
If you are using the VS Code extension, there is no need install Builder separately to take advantage of its features. Note The Electric Imp VS Code extension already incorporates Builder and can be used to upload code to Device Groups. Once installed on your computer, you can use it to process your Squirrel application and factory firmware before you transfer the code to an impCentral™ Device Group. There are a number of ways in which you can install Builder depending on how you plan to integrate it into your workflow.

