Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@ryanlewis
Created July 25, 2014 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanlewis/75880d759580118dbd3e to your computer and use it in GitHub Desktop.
Save ryanlewis/75880d759580118dbd3e to your computer and use it in GitHub Desktop.
How we add all assets in our Web projects
<Project>
<Target Name="BeforeBuild">
<Exec WorkingDirectory="..\.." Command="powershell.exe .\grunt-build.ps1 -target $(Configuration)" />
<ItemGroup>
<Content Include="css\**\*.css" />
<Content Include="js\**\*.js" />
<Content Include="js\**\*.js.map" />
<Content Include="fonts\**\*.*" />
<Content Include="img\**\*.png" />
<Content Include="img\**\*.gif" />
<Content Include="img\**\*.jpg" />
<Content Include="img\**\*.jpeg" />
<Content Include="img\**\*.svg" />
<Content Include="media\**\*.*" />
<Content Include="usync\**\*.config" />
</ItemGroup>
</Target>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment