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

Add wrapper script that automatically picks a Ribosome flavor based on the input #50

Open
JesseTG opened this issue May 5, 2016 · 5 comments

Comments

@JesseTG
Copy link
Contributor

JesseTG commented May 5, 2016

That way, build processes don't have to depend on which flavor of Ribosome is used.

@sustrik
Copy link
Owner

sustrik commented May 5, 2016

Good idea. Can be done in shell. The caveat being that it won't work on Windows.

@JesseTG
Copy link
Contributor Author

JesseTG commented May 5, 2016

Why not a Batch version, too?

@sustrik
Copy link
Owner

sustrik commented May 7, 2016

The ugly thing about it is that then you have 2 scripts instead of 3. Somehow better, but it's not clear whether it's worth the additional complexity. Stackoverflow suggest couple of ways to make a file be both shell sctipt and windows batch file, but all of them look like quite a nasty hacks :(

@JesseTG
Copy link
Contributor Author

JesseTG commented May 7, 2016

"Add with 2 scripts"? I don't follow.

@sustrik
Copy link
Owner

sustrik commented May 7, 2016

I meant ribosome.bat and ribosome.sh instead of ribosome.js ribosome.py and ribosome.rb. (Wording fixed in the comment above.)

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

2 participants