Add post-build script for package tools
This commit is contained in:
parent
0135092ba2
commit
2ac3118d92
|
@ -24,7 +24,6 @@ namespace UpTool_build_tool
|
||||||
string targetFileName = args[2];
|
string targetFileName = args[2];
|
||||||
string packageFile = args.Length > 3 ? args[3] : Path.Combine(targetDir, "package.zip");
|
string packageFile = args.Length > 3 ? args[3] : Path.Combine(targetDir, "package.zip");
|
||||||
string tempPath = Path.Combine(args.Length > 4 ? args[4] : Path.GetTempPath(), "UpTool2Pkg");
|
string tempPath = Path.Combine(args.Length > 4 ? args[4] : Path.GetTempPath(), "UpTool2Pkg");
|
||||||
string quote = "\"";
|
|
||||||
Console.WriteLine("Removing previous files...");
|
Console.WriteLine("Removing previous files...");
|
||||||
if (File.Exists(packageFile))
|
if (File.Exists(packageFile))
|
||||||
File.Delete(packageFile);
|
File.Delete(packageFile);
|
||||||
|
|
|
@ -45,12 +45,7 @@
|
||||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
<PropertyGroup>
|
||||||
Other similar extension points exist, see Microsoft.Common.targets.
|
<PostBuildEvent>"$(TargetPath)" build "$(TargetDir)\" "$(TargetPath)"</PostBuildEvent>
|
||||||
<Target Name="BeforeBuild">
|
</PropertyGroup>
|
||||||
</Target>
|
|
||||||
<Target Name="AfterBuild">
|
|
||||||
</Target>
|
|
||||||
-->
|
|
||||||
|
|
||||||
</Project>
|
</Project>
|
Reference in New Issue
Block a user