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

Corrige erros com Bower no AppHarbor #25

Merged
merged 4 commits into from
Aug 8, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
}