Phing > tests > update name of property with path (tests_framework.path > tests.framework.path) & ignore /build directory

This commit is contained in:
Meritoo
2018-05-28 21:22:00 +02:00
parent 3c83a8800e
commit 8a6262a8c3
3 changed files with 8 additions and 2 deletions

6
.gitignore vendored
View File

@@ -29,6 +29,12 @@
/.php_cs.cache /.php_cs.cache
# -----------------------------------------------------------------------------
### Build files
# -----------------------------------------------------------------------------
/build/
# ---------------------------------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------------------------------
### Generated databases ### Generated databases
# ---------------------------------------------------------------------------------------------------------------------- # ----------------------------------------------------------------------------------------------------------------------

View File

@@ -98,7 +98,7 @@ dir.data.temporary = ${dir.data}/tmp
# Path of the framework used to run unit tests # Path of the framework used to run unit tests
# #
tests_framework.path = ./vendor/bin/codecept tests.framework.path = ./vendor/bin/codecept
# Path of the PHP Coding Standards Fixer (http://cs.sensiolabs.org) # Path of the PHP Coding Standards Fixer (http://cs.sensiolabs.org)
# #

View File

@@ -213,7 +213,7 @@
<!-- Unit tests --> <!-- Unit tests -->
<target name="test:unit" description="Executes unit tests"> <target name="test:unit" description="Executes unit tests">
<echo msg="Running unit tests..." /> <echo msg="Running unit tests..." />
<exec command="${tests_framework.path} run --silent" passthru="true"/> <exec command="${tests.framework.path} run --silent" passthru="true"/>
</target> </target>
<!-- Checkout and finalization --> <!-- Checkout and finalization -->