Builds a Debian package to install and run Composer.
The first thing you must do is assemble Composer:
$ make composer
Now that Composer is available, we can build the package:
$ make package
This will create our Debian package, which we can now interact with:
$ ln *.deb
composer_1.0.0-alpha11_all.deb
$ sudo dpkg --install composer_1.0.0-alpha11_all.deb
If you want to use a different version of Composer you can override the COMPOSER_VERSION
variable:
$ COMPOSER_VERSION=1.0.0-alpha9 make composer
$ COMPOSER_VERSION=1.0.0-alpha9 make package
When changing the default target Composer version, make sure to update:
- Makefile
- Author: Rob Loach
- Source: composer.deb