Repository navigation
Expand file tree
/
Copy pathIntelliTect.Multitool.targets
More file actions
40 lines (37 loc) · 1.92 KB
/
Copy pathIntelliTect.Multitool.targets
File metadata and controls
40 lines (37 loc) · 1.92 KB
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
40
<Project>
<PropertyGroup Label="CI" Condition="'$(CI)' == ''">
<CI>false</CI>
<!-- Explicit checks for platforms that typically set CI themselves, but included for robustness -->
<CI Condition="'$(GITHUB_ACTIONS)' == 'true' or
'$(GITLAB_CI)' == 'true' or
'$(CIRCLECI)' == 'true' or
'$(CONTINUOUS_INTEGRATION)' == 'true' or
'$(TF_BUILD)' == 'true' or
('$(BUILD_ID)' != '' and '$(BUILD_URL)' != '') or
('$(BUILD_ID)' != '' and '$(PROJECT_ID)' != '') or
('$(CODEBUILD_BUILD_ID)' != '' and '$(AWS_REGION)' != '') or
'$(TEAMCITY_VERSION)' != '' or
'$(APPVEYOR)' != '' or
'$(BuildRunner)' == 'MyGet' or
'$(JB_SPACE_API_URL)' != '' or
'$(JENKINS_URL)' != '' or
'$(TRAVIS)' == 'true' or
'$(BUDDY)' == 'true' or
'$(CODEBUILD_CI)' == 'true'">true</CI>
</PropertyGroup>
<ItemGroup Condition="('$(CI)' == 'true' AND '$(Deterministic)' != 'true' AND '$(ReleaseDateAttribute)' != 'true') OR '$(ReleaseDateAttribute)' == 'true'">
<AssemblyAttribute Include="IntelliTect.Multitool.ReleaseDate">
<_Parameter1>$([System.DateTime]::UtcNow.ToString("O"))</_Parameter1>
</AssemblyAttribute>
</ItemGroup>
<Target Name="WriteLaunchers" AfterTargets="CopyFilesToOutputDirectory">
<PropertyGroup>
<LUTInformation>
BuildingForLiveUnitTesting::$(BuildingForLiveUnitTesting)
SolutionDir::$(SolutionDir)
ProjectPath::$(ProjectPath)
</LUTInformation>
</PropertyGroup>
<WriteLinesToFile File="$(OutDir)IntelliTect.MultiTool.BuildVariables.tmp" Overwrite="true" Lines="$(LUTInformation)" />
</Target>
</Project>