Skip to content
This repository was archived by the owner on Jun 28, 2022. It is now read-only.

Commit 4e02ac9

Browse files
committed
Feature/ci phing (#16)
* add target phing for detect engine inline in atoum test * Remove atoum engine inline for success build in CI
1 parent fe2c1cb commit 4e02ac9

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

build.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,13 @@
4747
<echo msg="Current version app is ${version.number}" />
4848
</target>
4949

50+
<!-- ============================================ -->
51+
<!-- Target: project targets -->
52+
<!-- ============================================ -->
53+
<target name="atoum-engine-checker">
54+
<echo msg="Search if engine line have been commited" />
55+
<exec command="grep -Rni '@engine inline' tests" escape="false" passthru="true" />
56+
<exec command="grep -Rni '@engine inline' tests | test `wc -l` -eq 0 &amp;&amp; (exit 0) || (exit 1)" checkreturn="true" escape="false" passthru="true" />
57+
</target>
58+
5059
</project>

0 commit comments

Comments
 (0)