md-systems / redirect

DEPRECATED: Redirect moved back to drupal.org, use the official repository.
https://www.drupal.org/project/redirect
21 stars 29 forks source link

Add composer.json #57

Closed yannickoo closed 9 years ago

yannickoo commented 9 years ago

In order to support Composer we need to add a composer.json file :)

yannickoo commented 9 years ago

@Berdir I have updated the description :)

Berdir commented 9 years ago

Merged, thanks.

ModulesUnraveled commented 8 years ago

I'm trying to figure out how to include this in a project. Here's what I've tried, can you show me where I'm going wrong?

"repositories": [
    {
        "type": "git",
        "url": "https://github.com/md-systems/redirect.git"
    }
],

"require": {
    "drush/redirect": "8.0.1@dev"
},

(I've also tried)

"require": {
    "drush/redirect": "dev-master"
},
ModulesUnraveled commented 8 years ago

Typo: Just to clarify, I tried "drupal/redirect" in the require section, not "drush/redirect"

ModulesUnraveled commented 8 years ago

Got it figured out! Posting here in case anyone else wants to do it:

"repositories": [
    {
        "type": "git",
        "url": "https://github.com/md-systems/redirect"
    }
],

"require": {
    "drupal/redirect": "dev-8.x-1.x"
},