Skip to content

Commit

Permalink
include readme in zip
Browse files Browse the repository at this point in the history
  • Loading branch information
Edwin Young committed Sep 19, 2015
1 parent ceeb253 commit 7c81192
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Prequel.exe/Prequel.exe.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
</PropertyGroup>
<PropertyGroup>
<!-- for zip task -->
<!-- for zip task -->
<SourceDirectory>$(OutDir)</SourceDirectory>
<WorkingDir>$(OutDir)</WorkingDir>
<OutputDirectory>$(OutDir)</OutputDirectory>
Expand All @@ -54,6 +54,10 @@
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="..\README.md">
<Link>README.md</Link>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="App.config" />
</ItemGroup>
<ItemGroup>
Expand All @@ -66,7 +70,7 @@
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
<Zip TaskAction="Create" CompressFiles="$(OutDir)Prequel.exe;$(OutDir)Prequel.Library.dll" RemoveRoot="$(OutDir)" ZipFileName="$(OutDir)prequel.zip" />
<Zip TaskAction="Create" CompressFiles="$(OutDir)Prequel.exe;$(OutDir)Prequel.Library.dll;$(OutDir)readme.md" RemoveRoot="$(OutDir)" ZipFileName="$(OutDir)prequel.zip" />
</Target>
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
Expand Down
2 changes: 2 additions & 0 deletions Prequel.sln
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Prequel.exe", "Prequel.exe\
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GenerateDocs", "GenerateDocs\GenerateDocs.csproj", "{9C82F659-178B-4B55-9268-D361718ECEAC}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{42C60949-B568-4507-849D-4DD7FACBDDBD}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down

0 comments on commit 7c81192

Please sign in to comment.