Skip to content
This repository has been archived by the owner on Jan 23, 2018. It is now read-only.

Commit

Permalink
Merge pull request #25 from felipemfp/desenvolvimento
Browse files Browse the repository at this point in the history
Corrige erros com Bower no AppHarbor
  • Loading branch information
chicobentojr authored Aug 8, 2016
2 parents 360198b + d2d5417 commit 235aa06
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
12 changes: 9 additions & 3 deletions SIAC/SIAC.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -597,6 +597,7 @@
<Content Include="Views\Shared\Partials\_AvaliacaoAgendar.cshtml" />
<Content Include="Views\Shared\Partials\_AvaliacaoIndex.cshtml" />
<Content Include="Views\Shared\Partials\_AvaliacaoConfigurar.cshtml" />
<Content Include="package.json" />
<None Include="Properties\PublishProfiles\Felipe.pubxml" />
<Content Include="Views\Academica\Partials\_PassoAPasso.cshtml" />
<Content Include="Views\Shared\Partials\_AvaliacaoRealizar.cshtml" />
Expand Down Expand Up @@ -719,17 +720,22 @@
<Error Condition="!Exists('..\packages\Microsoft.Net.Compilers.1.0.0\build\Microsoft.Net.Compilers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.Net.Compilers.1.0.0\build\Microsoft.Net.Compilers.props'))" />
<Error Condition="!Exists('..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.0\build\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.props'))" />
</Target>
<Target Name="BeforeBuild">
<Exec Command="git init" />
<Exec Command="npm install" />
</Target>
<PropertyGroup>
<PostBuildEvent>
if not exist "$(WebProjectOutputDir)\bin\Roslyn" md "$(WebProjectOutputDir)\bin\Roslyn"
start /MIN xcopy /s /y /R "$(OutDir)roslyn\*.*" "$(WebProjectOutputDir)\bin\Roslyn"
if not exist "$(WebProjectOutputDir)\bower_components" md "$(WebProjectOutputDir)\bower_components"
start /MIN xcopy /s /y /R "$(MSBuildProjectDirectory)\bower_components\*.*" "$(WebProjectOutputDir)\bower_components"
</PostBuildEvent>
</PropertyGroup>

<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
</Project>
2 changes: 1 addition & 1 deletion SIAC/bower.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "ASP.NET",
"name": "siac",
"private": true,
"dependencies": {
"jquery": "2.1.4",
Expand Down
11 changes: 11 additions & 0 deletions SIAC/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"version": "1.0.0",
"name": "siac",
"private": true,
"devDependencies": {
"bower": "^1.7.9"
},
"scripts": {
"postinstall": "bower install"
}
}

0 comments on commit 235aa06

Please sign in to comment.