UD-1049 : do not change files after build

Change-Id: Ib96b99aa3fecafb9f1a0936a13f06e4f927c0a89
Signed-off-by: Florent BENOIT <fbenoit@codenvy.com>
6.19.x
Florent BENOIT 2016-02-12 16:29:23 +01:00
parent c4c39d46d8
commit 34643cf8a9
1 changed files with 0 additions and 10 deletions

View File

@ -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" />
@ -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>