Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/handle_metadata #42

Merged
merged 16 commits into from
Feb 2, 2024
Merged

Feature/handle_metadata #42

merged 16 commits into from
Feb 2, 2024

Conversation

worksofliam
Copy link
Member

@worksofliam worksofliam commented Feb 1, 2024

Enables makefile generation to take metadata into consideration:

  • Reading each Rules.mk in directories and then applying them to the generated makefile
    • If dependencies are coded, then the Rules.mk will override Source Orbit.
    • If attributes are coded, then we will apply them to the build command for the object
  • Reading each ibmi.json and applying those rules to sources/objects in the same directory, taking tgtCcsid into account when applying TGTCCSID for regular programs, COMPILEOPT for SQL programs and CCSID on CRTSRCPF for items compiled from temporary members.
    • This PR does not add support for objlib.
  • Test cases for Rules.mk and .ibmi.json

@worksofliam worksofliam linked an issue Feb 1, 2024 that may be closed by this pull request
@irfanshar irfanshar self-requested a review February 1, 2024 18:42
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
@worksofliam
Copy link
Member Author

@edmundreinhardt @irfanshar This PR is now ready. I fixed incorrect spellings and made sure the tests are passing. Thanks!

@worksofliam worksofliam merged commit c611188 into main Feb 2, 2024
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ibmi-bob (makei) shim
2 participants