Skip to content

Commit 0f92154

Browse files
Abort if make fails
With failifexecutionfails the build only fails if the `make` command can't be found. We should use failonerror instead, and abort if `make` has returned an error
1 parent 0609961 commit 0f92154

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

build.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
<echo> Executing "make ${library}" in ${code} </echo>
224224
<exec executable="make"
225225
dir="${code}"
226-
failifexecutionfails="true">
226+
failonerror="true">
227227
<arg line="${library}"/>
228228
</exec>
229229

@@ -233,7 +233,7 @@
233233

234234
<exec executable="make"
235235
dir="${code}"
236-
failifexecutionfails="true">
236+
failonerror="true">
237237
<arg line="install"/>
238238
</exec>
239239

@@ -250,7 +250,7 @@
250250

251251
<exec executable="make"
252252
dir="${code}"
253-
failifexecutionfails="true">
253+
failonerror="true">
254254
<arg line="clean"/>
255255
</exec>
256256
</target>

0 commit comments

Comments
 (0)