utility-bash-scripts icon indicating copy to clipboard operation
utility-bash-scripts copied to clipboard

Allow non-shell scripts?

Open spikespaz opened this issue 6 years ago • 3 comments

I would like to add my script, but it's written in D and compiled, not interpreted. Can I add the binary to the repository root?

https://github.com/spikespaz/clone-by-path

spikespaz avatar Oct 13 '18 19:10 spikespaz

Maybe including a binary is a bad idea. What about a wrapper script that downloads the latest release? Would I be allowed to use superuser to put the binary in /usr/bin?

What if I ported the code to Python?

I see a lot of scripts using wrappers to Python modules. Is that the best route?

spikespaz avatar Oct 13 '18 19:10 spikespaz

Seems like python is fine https://github.com/aviaryan/utility-bash-scripts/blob/master/.github/CONTRIBUTING.md

missingcharacter avatar Oct 15 '18 02:10 missingcharacter

@spikespaz Yes, python should do. And yes, binary files or downloading binaries seems like a bad idea for now.

@missingcharacter Thanks for the input.

aviaryan avatar Oct 15 '18 04:10 aviaryan