TASK: Make composer available as bin
This commit is contained in:
parent
ba20024783
commit
3e89316430
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -22,4 +22,5 @@ install-composer:
|
||||||
php -r "if (hash_file('SHA384', 'composer-setup.php') === file_get_contents('installer.sig')) { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
|
php -r "if (hash_file('SHA384', 'composer-setup.php') === file_get_contents('installer.sig')) { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
|
||||||
php composer-setup.php
|
php composer-setup.php
|
||||||
php -r "unlink('composer-setup.php'); unlink('installer.sig');"
|
php -r "unlink('composer-setup.php'); unlink('installer.sig');"
|
||||||
php composer.phar install
|
chmod ugo+x composer.phar
|
||||||
|
mv composer.phar /usr/local/bin/composer
|
||||||
|
|
Loading…
Reference in a new issue