ianmiell / shutit

Automation framework for programmers
http://ianmiell.github.io/shutit/
MIT License
2.15k stars 110 forks source link

Be more helpful when running from main dir #32

Closed ianmiell closed 10 years ago

ianmiell commented 10 years ago
aidanhs commented 10 years ago

What do you mean by running from core? As in the shutit directory itself? I do this all the time if I want to play with the shutit library.

ianmiell commented 10 years ago

Hmmm, well I've "fixed" this ;/ I observed George doing this during the screencast and it fair confused him.

ianmiell commented 10 years ago

Maybe better to make "build" compulsory, else output usage?

aidanhs commented 10 years ago

What exactly confused him? That it said it didn't know how to find any modules? So he ran './shutit' and it gave the opaque error message rather than help? Yes, that's subideal.

Unfortunately, making build optional is a hack for backwards compatibility. Maybe we could detect if you're using the ./shutit symlink and (if so) use the compatibility breaking behaviour.

ianmiell commented 10 years ago

Nah, just break back-compatibility. I'll update shutit modules if necessary.

On 20 May 2014 23:21, aidanhs notifications@github.com wrote:

What exactly confused him? That it said it didn't know how to find any modules? So he ran './shutit' and it gave the opaque error message rather than help? Yes, that's subideal.

Unfortunately, making build optional is a hack for backwards compatibility. Maybe we could detect if you're using the ./shutit symlink and (if so) use the compatibility breaking behaviour.

— Reply to this email directly or view it on GitHubhttps://github.com/ianmiell/shutit/issues/32#issuecomment-43691008 .

http://www.openbet.com/ Ian Miell Head of DevOps T:+44 208 742 1600 +44 208 987 1129 M:+44 793 150 7458 E:ian.miell@openbet.com W:www.openbet.com OpenBet LtdChiswick Park Building 9566 Chiswick High Rd LondonW4 5XT http://twitter.com/OpenBet_Ltd http://www.linkedin.com/company/165331/ http://www.facebook.com/OpenBet Winner of Sports Betting Supplier of the Year at the EGR B2B Awards 2010, 2011 & 2012 This message is confidential and intended only for the addressee. If you have received this message in error, please immediately notify the postmaster@openbet.com and delete it from your system as well as any copies. The content of e-mails as well as traffic data may be monitored by OpenBet for employment and security purposes. To protect the environment please do not print this e-mail unless necessary. OpenBet Ltd. Registered Office: Chiswick Park Building 9, 566 Chiswick High Road, London, W4 5XT, United Kingdom. A company registered in England and Wales. Registered no.

  1. VAT no. GB927523612
ianmiell commented 10 years ago

Will re-open if it comes up again.