Skip to content

Commit

Permalink
UD-1049 : do not change files after build
Browse files Browse the repository at this point in the history
Change-Id: Ib96b99aa3fecafb9f1a0936a13f06e4f927c0a89
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
  • Loading branch information
benoitf committed Feb 15, 2016
1 parent c4c39d4 commit 34643cf
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions dashboard/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@
<exec dir="${basedir}" executable="gulp" failonerror="true">
<arg value="test" />
</exec>
<!-- Disable development mode -->
<replace file="${basedir}/src/app/index.module.js">
<replacetoken><![CDATA[var DEV = true;]]></replacetoken>
<replacevalue><![CDATA[var DEV = false;]]></replacevalue>
</replace>
<!-- Build the application -->
<exec dir="${basedir}" executable="gulp" failonerror="true">
<arg value="build" />
Expand All @@ -80,11 +75,6 @@
<replacetoken><![CDATA[<base href="/">]]></replacetoken>
<replacevalue><![CDATA[<base href="/dashboard/">]]></replacevalue>
</replace>
<!-- Enable back development mode -->
<replace file="${basedir}/src/app/index.module.js">
<replacetoken><![CDATA[var DEV = false;]]></replacetoken>
<replacevalue><![CDATA[var DEV = true;]]></replacevalue>
</replace>
</target>
</configuration>
</execution>
Expand Down

0 comments on commit 34643cf

Please sign in to comment.