I have a repository that contains two packages with slightly different source data. These packages have the same name effortless_audit the hooks are different as one targets Windows and the other targets Linux. I am trying to set up a .bldr.toml for a pipeline to automatically build both packages when changes are made to them. I’m not really sure how to write the builder toml when I want them to have the same name.
This is what my folder structure looks like
linux_pkg
src
habitat
plan.sh
hooks
run
windows_pkg
src
habitat
plan.ps1
hooks
run
I think my .bldr.toml might look like this but I’m concerned that the [pkg_name] is overriding the pkg_name value in the plan.
[effortless_audit_linux]
plan_path = 'linux_pkg'
paths = ["linux_pkg/*"]
[effortless_audit_windows]
plan_path = 'windows_pkg'
paths = ["windows_pkg/*"]
I could potentially just have these as different packages but their purpose is identical it’s just the src and hooks that are different because Windows and Linux are different.