Archived
1
0

Use Composer's fxp/asset plugin instead of manual repositories for MDL.

This commit is contained in:
2016-07-09 16:24:24 +02:00
parent 907c557479
commit 549fac64d5
6 changed files with 1369 additions and 93 deletions

18
composer-dl.sh Normal file

@ -0,0 +1,18 @@
#!/bin/sh
# https://getcomposer.org/
if [ -x `which wget` ]; then
echo "wget found."
wget -q https://getcomposer.org/installer -O - | php
elif [ -x `which curl` ]; then
echo "curl found."
curl -sS https://getcomposer.org/installer | php
else
echo "Please install wget or curl to download Composer."
fi
if [ -f "./composer.phar" ]; then
chmod a+x ./composer.phar
# Install support for bower and NPM packages
./composer.phar global require "fxp/composer-asset-plugin:~1.1"
fi