aviaryan / utility-bash-scripts

🤓 Useful bash scripts to do automatable tasks with a single command
MIT License
419 stars 66 forks source link

Allow non-shell scripts? #12

Open spikespaz opened 5 years ago

spikespaz commented 5 years ago

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 commented 5 years ago

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?

missingcharacter commented 5 years ago

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

aviaryan commented 5 years ago

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

@missingcharacter Thanks for the input.