Skip to content

Commit

Permalink
add start of linux support
Browse files Browse the repository at this point in the history
  • Loading branch information
pwelter34 committed Apr 29, 2016
1 parent c515363 commit 08cca96
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ Test
*.msi
*.chm
/Tools
/build.txt
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: csharp
solution: ./Source/MSBuild.Community.Tasks.sln

install:
- nuget restore ./Source/MSBuild.Community.Tasks.sln
- nuget install MSBuildTasks -OutputDirectory ./Tools/ -ExcludeVersion -NonInteractive
- nuget install ILRepack.MSBuild.Task -OutputDirectory ./Tools/ -ExcludeVersion -NonInteractive

script:
- xbuild ./Master.proj
18 changes: 12 additions & 6 deletions Master.proj
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
</PropertyGroup>

<Import Project="$(MSBuildCommunityTasksPath)\MSBuild.Community.Tasks.targets"/>
<Import Project="$(ToolFolder)\ILRepack.MSBuild.Task\build\ILRepack.MSBuild.Task.targets"/>

<PropertyGroup>
<BuildNumber Condition=" '$(APPVEYOR_BUILD_NUMBER)' != '' ">$(APPVEYOR_BUILD_NUMBER)</BuildNumber>
Expand Down Expand Up @@ -88,12 +89,17 @@
DestinationFiles="$(BuildFolder)\MSBuild.Temp.dll" />

<!-- Merge together files -->
<ILMerge InputAssemblies="$(BuildFolder)\MSBuild.Temp.dll;$(BuildFolder)\Ionic.Zip.Reduced.dll"
Internalize="true"
OutputFile="$(BuildFolder)\MSBuild.Community.Tasks.dll"
KeyFile="$(SourceFolder)\MSBuild.Community.Tasks\MSBuild.Community.Tasks.snk"
ToolPath="$(ToolFolder)\ilmerge\tools" />

<ItemGroup>
<InputAssemblies Include="$(BuildFolder)\MSBuild.Temp.dll" />
<InputAssemblies Include="$(BuildFolder)\Ionic.Zip.Reduced.dll" />
</ItemGroup>

<ILRepack Internalize="true"
InputAssemblies="@(InputAssemblies)"
TargetKind="Dll"
KeyFile="$(SourceFolder)\MSBuild.Community.Tasks\MSBuild.Community.Tasks.snk"
OutputFile="$(BuildFolder)\MSBuild.Community.Tasks.dll" />

<!-- Cleanup unneed files -->
<ItemGroup>
<CleanupFiles Include="$(BuildFolder)\*.dll" Exclude="$(BuildFolder)\MSBuild.Community.Tasks.dll" />
Expand Down
2 changes: 1 addition & 1 deletion bootstrap.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
Nuget.exe restore "Source\MSBuild.Community.Tasks.sln"

NuGet.exe install MSBuildTasks -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive
NuGet.exe install ilmerge -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive
NuGet.exe install ILRepack.MSBuild.Task -OutputDirectory .\Tools\ -ExcludeVersion -NonInteractive

0 comments on commit 08cca96

Please sign in to comment.