1
0
Fork 0
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:
Bogdan 2023-06-11 23:24:19 +03:00 committed by GitHub
parent 04cc9939a6
commit af54a3f9d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

13
src/Directory.Build.props Normal file
View 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>