Skip to content

Commit

Permalink
Add without cross compile conditional prop
Browse files Browse the repository at this point in the history
  • Loading branch information
jbtule committed Oct 1, 2019
1 parent 4392460 commit 4297520
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,5 @@ $RECYCLE.BIN/
.nuget/NuGet.exe

.idea/*
.vs/*
.vs/*
.ionide/*
5 changes: 5 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<Project>
<PropertyGroup>
<WithoutCrossCompile Condition="'$(GITHUB_ACTION)' != '' OR '$(LGTM_SRC)' != ''">True</WithoutCrossCompile>
</PropertyGroup>
</Project>
2 changes: 1 addition & 1 deletion Dynamitey/Dynamitey.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard1.5;net40;portable-net45+sl5+win8+wp8</TargetFrameworks>
<TargetFrameworks Condition="'$(GITHUB_ACTION)' != ''">netstandard2.0</TargetFrameworks>
<TargetFrameworks Condition="'$(WithoutCrossCompile)' != ''">netstandard2.0</TargetFrameworks>
<Description>(pronounced dyna-mighty) flexes DLR muscle to do meta-mazing things in .net</Description>
<Company>Ekon Benefits</Company>
<Authors />
Expand Down
2 changes: 1 addition & 1 deletion Tests/Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netcoreapp2.0;net462</TargetFrameworks>
<TargetFrameworks Condition="'$(GITHUB_ACTION)' != ''">netcoreapp2.0</TargetFrameworks>
<TargetFrameworks Condition="'$(WithoutCrossCompile)' != ''">netcoreapp2.0</TargetFrameworks>
<OutputType Condition="'$(TargetFramework)'!='netcoreapp2.0'">Exe</OutputType>
<IsPackable>false</IsPackable>
</PropertyGroup>
Expand Down

0 comments on commit 4297520

Please sign in to comment.