Skip to content

Commit

Permalink
Merge pull request #169 from oddstr13/support-directory-build-props-1
Browse files Browse the repository at this point in the history
Add basic support for Directory.Build.props
  • Loading branch information
oddstr13 authored Mar 29, 2024
2 parents c50dc5d + b7a2d62 commit 8c03960
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions jprm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,10 @@ def build_plugin(path, output=None, build_cfg=None, version=None, dotnet_config=
projects.append(os.path.join(path, fn))
break

dbp_file = os.path.join(path, "Directory.Build.props")
if os.path.exists(dbp_file):
projects.append(dbp_file)

for project in projects:
set_project_version(project, version=version)
set_project_framework(project, framework=dotnet_framework)
Expand Down

0 comments on commit 8c03960

Please sign in to comment.