Skip to content
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.

A mechanism to deploy to a package registry #40

Open
v9n opened this issue Sep 3, 2014 · 1 comment
Open

A mechanism to deploy to a package registry #40

v9n opened this issue Sep 3, 2014 · 1 comment

Comments

@v9n
Copy link

v9n commented Sep 3, 2014

Speaking of packagist and composer,
I found that it's easier to work on same directory with 2 branches:

  • master: for php source itself which is generated from alpace
  • alpace: hold JSON configuration

I then use a custom makefile to generate the API, copy to a temporary folder, the checkout to master branch, copy file back and commit.

I experiment with it for a bit https://github.com/kureikain/bandwidth-php (check out master and alpaca branch)

Though I feel it's tricky. Do you have any idea/method so I can work on same directory but maintain the API JSON file and the generate file at same time but keep them separate so when I published to registry, the API JSON file won't leak into PHP source.

@pksunkara
Copy link
Owner

Thanks for asking a good question. I would like to think on this a bit.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants