diff --git a/Makefile b/Makefile index 95a97b8..1b3cc88 100644 --- a/Makefile +++ b/Makefile @@ -8,3 +8,4 @@ install: @sudo ln -sf $(shell pwd)/php /usr/local/bin/php @sudo ln -sf $(shell pwd)/phpctl /usr/local/bin/pctl @sudo ln -sf $(shell pwd)/phpctl /usr/local/bin/phpctl + @sudo ln -sf $(shell pwd)/phpunit /usr/local/bin/phpunit diff --git a/installer.sh b/installer.sh index f9450f9..71e0a9a 100755 --- a/installer.sh +++ b/installer.sh @@ -7,6 +7,7 @@ symlink() { sudo ln -sf "${INSTALL_DIR}/php" /usr/local/bin/php sudo ln -sf "${INSTALL_DIR}/phpctl" /usr/local/bin/pctl sudo ln -sf "${INSTALL_DIR}/phpctl" /usr/local/bin/phpctl + sudo ln -sf "${INSTALL_DIR}/phpunit" /usr/local/bin/phpunit } echo "\033[0;33mInstalling phpctl at \033[0m$INSTALL_DIR" @@ -24,5 +25,6 @@ else echo " sudo ln -sf ${INSTALL_DIR}/php /usr/local/bin/php" echo " sudo ln -sf ${INSTALL_DIR}/phpctl /usr/local/bin/pctl" echo " sudo ln -sf ${INSTALL_DIR}/phpctl /usr/local/bin/phpctl" + echo " sudo ln -sf ${INSTALL_DIR}/phpunit /usr/local/bin/phpunit" echo "" fi diff --git a/phpunit b/phpunit new file mode 100755 index 0000000..099ab0d --- /dev/null +++ b/phpunit @@ -0,0 +1,2 @@ +#!/usr/bin/env sh +phpctl phpunit $@