vgquotes/Lib/compressjs.targets

52 lines
1.5 KiB
Plaintext
Raw Permalink Normal View History

<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<UsingTask TaskName="CompressorTask" AssemblyFile="Yahoo.Yui.Compressor.dll" />
<ItemGroup>
<Core Include="media\js\jquery.cookie.js" />
<Core Include="media\js\jquery.center.js" />
<Core Include="media\js\jquery.modelerrors.js" />
<Core Include="media\js\jquery.refresh.js" />
<Core Include="media\js\vgquotes.js" />
</ItemGroup>
<ItemGroup>
<QuoteForm Include="media\js\quoteform.js" />
</ItemGroup>
<ItemGroup>
<Browse Include="media\js\browse.js" />
</ItemGroup>
<Target Name="ConcatenateAndCompressJavaScript">
<CompressorTask
JavaScriptFiles="@(Core)"
ObfuscateJavaScript="True"
PreserveAllSemicolons="False"
DisableOptimizations="Nope"
DeleteJavaScriptFiles="False"
JavaScriptOutputFile="..\VideoGameQuotes.Web\media\js\vgquotes.compressed.js"
LoggingType="ALittleBit"
/>
<CompressorTask
JavaScriptFiles="@(QuoteForm)"
ObfuscateJavaScript="True"
PreserveAllSemicolons="False"
DisableOptimizations="Nope"
DeleteJavaScriptFiles="False"
JavaScriptOutputFile="..\VideoGameQuotes.Web\media\js\quoteform.compressed.js"
LoggingType="ALittleBit"
/>
<CompressorTask
JavaScriptFiles="@(Browse)"
ObfuscateJavaScript="True"
PreserveAllSemicolons="False"
DisableOptimizations="Nope"
DeleteJavaScriptFiles="False"
JavaScriptOutputFile="..\VideoGameQuotes.Web\media\js\browse.compressed.js"
LoggingType="ALittleBit"
/>
</Target>
</Project>