Merge pull request #9 in FREEPBX/devtools from make-unit-tests-optional-for-package to master* commit '42b6cdf5fdb99e4b8305f400fc1d8a9ccfeeb578':
Make unit tests optional
Make unit tests optionalThere isn't always a reason to run unit tests when packaging a module,
this commit makes it so they can be optionally run if the --test flag
is set.
Merge pull request #8 in FREEPBX/devtools from exit-with-phpunit-result-code to master* commit '76ec4227915fa8d949e981a256c1d4d168170898':
Exit with the result code from phpunit
Exit with the result code from phpunitThe phpunit.php script is a wrapper on top of the phpunit application.
Previously, we weren't passing the result code from the wrapped application,
so when tests would fail, our wrapper script would pretend everything is ok
and return an exit code of 0. This is particularly bad when you're trying
to unsure unit tests are passing when using an application like Jenkins.
To fix this, we now relay ...
Merge pull request #6 in FREEPBX/devtools from devtools-tweaks to master* commit '30cee077c557a83b5712767611db144b50b65702':
Add script that attempts to fix broken modules
Added option to answer all questions with a 'yes'.
Add script that attempts to fix broken modulesThis script attempts to detect when modules are broken in FreePBX
and resolve the issues. It's good to note that before running this
script, the FreePBX username and password should be defined in the
~/.freepbxconfig file.
Added option to answer all questions with a 'yes'.It's not easy to make capturing required user input from another script.
This commit adds an option to just automatically select 'yes' instead
by setting the '-y' flag in the freepbx_git.php scirpt.
Merge pull request #4 in FREEPBX/devtools from bugfix/fix-option-r to master* commit 'e6351d659ce7e1a6410d562283e8f0e51b8d1a1a':
Fix -r option when cloning new module