Files
firefly-iii/pu.sh

19 lines
223 B
Bash
Raw Normal View History

2015-03-28 06:48:38 +01:00
#!/bin/bash
2015-04-03 07:44:44 +02:00
# set testing environment
cp .env.testing .env
2015-03-28 06:51:54 +01:00
2015-04-03 07:44:44 +02:00
# test!
2015-04-05 10:36:28 +02:00
if [ -z "$1" ]
then
phpunit --verbose
fi
if [ ! -z "$1" ]
then
phpunit --verbose tests/helpers/$1.php
2015-04-05 10:36:28 +02:00
fi
2015-04-03 07:44:44 +02:00
# restore .env file
2015-04-20 21:57:20 +02:00
cp .env.local .env