I Needed a slightly different setup to get my repo to be installed via composer; hopefully this will help someone who may be stuck:
My project’s "repositories"
key in the composer.json file has:
{
"type": "vcs",
"url": "https://bitbucket.org/accountname/reponame.git"
}
in "require"
i have:
"accountname/reponame":"dev-master"
And in my repo composer.json file I needed to change "dist"
into "source"
or else it would not work:
{
"name": "accountname/reponame",
"version": "master",
"source": {
"url": "https://bitbucket.org/accountname/reponame.git",
"type": "git"
}
}
finally, while doing the update:
composer update -v --prefer-source