-
Notifications
You must be signed in to change notification settings - Fork 9
/
after.RomanticWeb.sln.targets
39 lines (32 loc) · 1.96 KB
/
after.RomanticWeb.sln.targets
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(TEAMCITY_BUILD_PROPERTIES_FILE)' != ''">
<TeamCityBuild>true</TeamCityBuild>
</PropertyGroup>
<UsingTask AssemblyFile="$(MSBuildProjectDirectory)\FileVersionExtractor\bin\FileVersionExtractor.dll"
TaskName="GetAssemblyFileVersion"/>
<Target Name="Update TeamCity Version" AfterTargets="Build">
<GetAssemblyFileVersion FilePathAssemblyInfo="$(MSBuildProjectDirectory)\RomanticWeb\Properties\VersionAssemblyInfo.cs">
<Output TaskParameter="AssemblyFileVersion" PropertyName="AssemblyFileVersion" />
</GetAssemblyFileVersion>
<Message Condition="$(TeamCityBuild) == 'true'" Text="##teamcity[buildNumber '$(AssemblyFileVersion)']" />
</Target>
<Target Name="GitHubLink" AfterTargets="Build">
<Exec Command='"$(MSBuildProjectDirectory)\Tools\GitHubLink.exe" "$(MSBuildProjectDirectory)" -u https://github.com/MakoLab/RomanticWeb'
ContinueOnError="true" IgnoreExitCode="true"></Exec>
</Target>
<Target Name="PepitaPackage" AfterTargets="GitHubLink">
<MSBuild Projects="$(MSBuildProjectDirectory)\NuGetBuild\NugetBuild.targets"
Targets="CopyNugetBinaries;PepitaPackage"
Properties="AssemblyName=RomanticWeb" />
<MSBuild Projects="$(MSBuildProjectDirectory)\NuGetBuild\NugetBuild.targets"
Targets="CopyNugetBinaries;PepitaPackage"
Properties="AssemblyName=RomanticWeb.dotNetRDF" />
<MSBuild Projects="$(MSBuildProjectDirectory)\NuGetBuild\NugetBuild.targets"
Targets="CopyNugetBinaries;PepitaPackage"
Properties="AssemblyName=RomanticWeb.JsonLd" />
<MSBuild Projects="$(MSBuildProjectDirectory)\NuGetBuild\NugetBuild.targets"
Targets="CopyNugetBinaries;PepitaPackage"
Properties="AssemblyName=RomanticWeb.Fody;DestinationFolder=." />
</Target>
</Project>