Skip to content

Commit

Permalink
LPS-109121 Move to compile (run setup-sdk once)
Browse files Browse the repository at this point in the history
  • Loading branch information
petershin authored and brianchandotcom committed Mar 3, 2020
1 parent 02d6fc3 commit 4376ee2
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -172,17 +172,6 @@ message.
</target>

<target name="clean">
<if>
<equals arg1="${org.gradle.daemon}" arg2="true" />
<then>
<setup-sdk setupbinariescache="false" />

<gradle-execute dir="." forcedcacheenabled="false" task="">
<arg value="--stop" />
</gradle-execute>
</then>
</if>

<execute>
${build.git.clean.command}
</execute>
Expand All @@ -193,8 +182,18 @@ message.
</target>

<target name="compile">
<setup-libs />
<setup-sdk />

<if>
<equals arg1="${org.gradle.daemon}" arg2="true" />
<then>
<gradle-execute dir="." forcedcacheenabled="false" task="">
<arg value="--stop" />
</gradle-execute>
</then>
</if>

<setup-libs />
<setup-yarn />

<gradle-execute dir="modules/core" task="deploy">
Expand Down

0 comments on commit 4376ee2

Please sign in to comment.