(MAINT) Define build data per-project #1185
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Summary
This change:
.project.data.json
files. These files contain the build metadata for each project except for theRelativePath
field.build.data.psd1
file withbuild.data.json
containing the same data.Update-DscBuildData
to pull changes from the per-project data files into the root build data file.Except for using the JSON files, this change doesn't modify the build behavior. This change doesn't remove the
copy_files.txt
files, though they are now redundant with the project data files. Once we remove the old build script, thecopy_files.txt
files should also be removed.PR Context
Prior to this change, any updates to project build configuration needed to land in the root
build.data.psd1
file. This made it relatively easy to forget to update the configuration when working on a specific project.