voceconnect / grunt-composer

A grunt wrapper for composer
17 stars 5 forks source link

Multiple targets support #13

Closed Elijen closed 10 years ago

Elijen commented 10 years ago

It would be great if composer task supported multiple targets like this:

composer: {
    prod: {
        usePhp: true,
        composerLocation: 'composer.phar',
        flags: ['no-dev']
    }
}

Usage could be something like this:

grunt composer:install #default options
grunt composer:prod:install #options from composer.prod section
LeoColomb commented 10 years ago

Fixed by #15

Elijen commented 10 years ago

@LeoColomb :+1: