add alias for phpunit in the .bashrc
This commit is contained in:
1 parent
7171996843
commit
3b2831bf1d
2 files changed
+6
-3
No files matched your search
@@ -42,7 +42,10 @@ RUN curl -s http://getcomposer.org/installer | php \
|
||||
RUN composer.phar global require "laravel/installer" \
|
||||
&& echo "export PATH='~/.composer/vendor/bin:$PATH'" >> ~/.bashrc
|
||||
|
||||
# Source the bashrc to apply updates
|
||||
# Add an alias for PHPUnit
|
||||
RUN echo "alias phpunit='./vendor/bin/phpunit'" >> ~/.bashrc
|
||||
|
||||
# Source the bash
|
||||
RUN . ~/.bashrc
|
||||
|
||||
# Clean up
|
||||
|
||||
Reference in new issue
Block a user