mirror of
https://github.com/Jackett/Jackett
synced 2025-03-15 08:28:59 +00:00
core: use project name as relative path in builds (#14447)
This commit is contained in:
parent
04cc9939a6
commit
af54a3f9d0
1 changed files with 13 additions and 0 deletions
13
src/Directory.Build.props
Normal file
13
src/Directory.Build.props
Normal file
|
@ -0,0 +1,13 @@
|
|||
<Project>
|
||||
<!-- Common to all Jackett Projects -->
|
||||
<PropertyGroup>
|
||||
<!-- Specifies whether it's one of our own libraries -->
|
||||
<JackettProject>false</JackettProject>
|
||||
<JackettProject Condition="$(MSBuildProjectName.StartsWith('Jackett'))">true</JackettProject>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- Set the Product and Version info for our own projects -->
|
||||
<PropertyGroup Condition="'$(JackettProject)'=='true'">
|
||||
<PathMap>$(MSBuildProjectDirectory)=./$(MSBuildProjectName)/</PathMap>
|
||||
</PropertyGroup>
|
||||
</Project>
|
Loading…
Add table
Reference in a new issue