What are all these darn config files?
VS Code for IBM i uses Source Orbit and BOB the Better Object Builder, which means we have several different config files to understand. Throw Git into the mix and we have even more config files.
Let's have a look at my json, rules and git configs:
.env - The Project Explorer Variables Config
.gitignore - The Git Config
.ibmi.json - The Compile Codepage Config
.iproj.json - The Project Explorer Config
Rules.mk - the config for compiles in this folder
So my root Rules.mk looks like this:
This literally says look for IBM i Source code in the 'sample-code' folder
Then within the source folder itself it looks like this:
This says compile the source code called helloworld.pgm.rpgle as an ILE program called HELLOWORLD.
If the source file name does not contain the .pgm. and was just called helloworld.rpgle then it would be compiled as an ILE module.
If you have got this far... then you are ready for your first compile.
Let's do it in the next video lesson!