This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<AzureConf> | |
<Blob> | |
<Container FileExt="css" Name="css" /> | |
<Container FileExt="js" Name="scripts" /> | |
</Blob> | |
<AzureAccountInfo> | |
<Name>your blob account name</Name> | |
<Key>your blob account key</Key> | |
</AzureAccountInfo> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"$(MSBuildBinPath)\msbuild.exe" "$(ProjectDir)yui\MSBuild.xml" | |
powershell.exe -Command "& {Set-ExecutionPolicy Unrestricted}" | |
powershell.exe -NoLogo -NonInteractive -File "$(ProjectDir)UploadBundleOnAzure.ps1" -ProjectDir "$(ProjectDir)" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param([string]$ProjectDir) | |
# for some reason we have a " to remove at the end of string | |
$ProjectDir = $ProjectDir.Substring(0,$ProjectDir.Length-1) | |
$assetsDir = [string]::Format('{0}\{1}', $ProjectDir, 'Assets') | |
$myCss = Get-ChildItem "$assetsDir\Styles" -Filter "*.css" | % -process { $_.FullName } | |
$myJs = Get-ChildItem "$assetsDir\Scripts" -Filter "*.js" | % -process { $_.FullName } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Project xmlns="http://schemas.microsoft.com/developer/MsBuild/2003"> | |
<UsingTask TaskName="CssCompressorTask" AssemblyFile="..\..\..\..\..\Reference Assemblies\Yahoo.Yui.Compressor.Build.MsBuild.dll" /> | |
<UsingTask TaskName="JavaScriptCompressorTask" AssemblyFile="..\..\..\..\..\Reference Assemblies\Yahoo.Yui.Compressor.Build.MsBuild.dll" /> | |
<PropertyGroup> | |
<CssMinOutputFile>..\Assets\Styles\Stylesheet1.min.css</CssMinOutputFile> | |
<JavaScriptMinOutputFile>..\Assets\Scripts\Javascript1.min.js</JavaScriptMinOutputFile> | |
</PropertyGroup> |
NewerOlder