Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command line binary #14

Open
iannsp opened this issue Mar 31, 2012 · 7 comments
Open

command line binary #14

iannsp opened this issue Mar 31, 2012 · 7 comments

Comments

@iannsp
Copy link
Contributor

iannsp commented Mar 31, 2012

Respect\Doc need a command line to make use easier.

@augustohp
Copy link
Member

Agreed!

But lets put some thought into it, using Doc is as simple as instantating a class, maybe it could also use a pear as a binary to do that.
Foundation can make phars already, but we have been discussing on how to make it better.

In any way or the other, we would have to already have a bin to run things ... What commands you think this bin would hold.. what are your ideas? Speak your mind! (This last sentence have been highly influenced by SPL language)

@iannsp
Copy link
Contributor Author

iannsp commented Mar 31, 2012

the main idea come my mind is create a command line called respect with options as doc, for instance:
#respect doc help
or for Respect/Foundation things, like
#respect pear-package
#respect update-fundation (to automatly update Makefile target)
and so on.

Of Course have more reasons to have a Respect command line then this but it are first thing come to mind.

@augustohp
Copy link
Member

Right, today Foundation does that already. What do you think of make doc as the command line? It could use Doc as a dependency and use the binary as a real target under the make.

This would already fit in our workflow just like make test does =D

@iannsp
Copy link
Contributor Author

iannsp commented Mar 31, 2012

u right. my bad here
can whe add this to foundation?

@augustohp
Copy link
Member

+1

@alganet
Copy link
Member

alganet commented Apr 2, 2012

+1 as well

Also worth noting that we're trying to remove all binaries from Foundation itself (we're trying to move from our bin/pear-packager to Onion, for instance), so any solution that could fit in the Makefile only would be very nice.

@augustohp tried a single php -r in the Makefile that depends on the Respect\Doc PEAR, but I don't know the status of this.

@augustohp
Copy link
Member

I still have it here, but as I mentionet to @alganet, the code if it makes you want to kill happy pandas...
But depending on the implementation, we may really want to embrace that limitation and uggly code.

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

No branches or pull requests

3 participants