Skip to content

Commit

Permalink
N2N-3 Removed ng build for Release config
Browse files Browse the repository at this point in the history
  • Loading branch information
jokerosky committed Nov 17, 2017
1 parent 14ac50c commit 012c378
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion assets/FuatureBuildSteps.bat
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ REM ! npm i -g @angular/cli
REM ! npm i -g webpack
REM ! npm i

REM 6) FrontEnd tests
REM 6) build ng app
REM ! ng build -prod -aot

REM 7) FrontEnd tests
REM Set working direcory for frontend app
REM ! node node_modules/karma/bin/karma start --single-run
2 changes: 1 addition & 1 deletion src/N2N.Web/N2N.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<Folder Include="wwwroot\" />
</ItemGroup>

<Target Name="Build Angular" BeforeTargets="Build">
<Target Name="Build Angular" Condition="'$(Configuration)'=='Debug'" BeforeTargets="Build">
<Message Text="* * * * * * Building Angular App * * * * * *" Importance="high" />
<Exec Command="ng build -prod -aot" />
</Target>
Expand Down

0 comments on commit 012c378

Please sign in to comment.