Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Trigger a build.
James Cole1c3bffdc5079
diff --git a/README.md b/README.mdindex 3b0a3a4a9d..1aeba2e780 100644--- a/README.md+++ b/README.md@@ -26,7 +26,7 @@ To get to know Firefly, and to see if it fits you, check out these resources:and the philosophy behind it.-#### About the name (if you care)+#### About the name (should you care)It's III, or 3, because [version 2](https://github.com/JC5/Firefly) and version 1 (not online) preceded it. It has been growing steadily ever since.diff --git a/pu.sh b/pu.shindex cccdb0f534..c963bbf956 100755--- a/pu.sh+++ b/pu.sh@@ -9,9 +9,31 @@ thenphpunit --verbosefi+# directories to look in:+dirs=("controllers" "database" "factories" "helpers" "models" "middleware" "repositories" "support")+if [ ! -z "$1" ]then- phpunit --verbose tests/helpers/$1.php+ for i in "${dirs[@]}"+ do+ firstFile="./tests/$i/$1.php"+ secondFile="./tests/$i/$1Test.php"+ if [ -f "$firstFile" ]+ then+ # run it!+ phpunit --verbose $firstFile+ exit $?+ fi+ if [ -f "$secondFile" ]+ then+ # run it!+ phpunit --verbose $secondFile+ exit $?+ fi+++ done+fi# restore .env file