logoalt Hacker News

Storment33yesterday at 1:05 PM3 repliesview on HN

I agree with #2, I meant more if you are calling out to something that is not a task runner(Make, Taskfile, Just etc) or a shell script thats a bit of a smell to me. E.g. I have seen people call out to Python scripts etc and it concerns me.


Replies

masfuerteyesterday at 4:15 PM

My software runs on Windows, Linux and MacOS. The same Python testing code runs on all three platforms. I mostly dislike Python but I can't think of anything better for this use case.

show 2 replies
WorldMakeryesterday at 4:32 PM

It's interesting because #1 is still suggesting a shell script, it's just suggesting a better shell to script.

show 1 reply
embedding-shapeyesterday at 1:26 PM

Huh? Who cares if the script is .sh, .bash, Makefile, Justfile, .py, .js or even .php? If it works it works, as long as you can run it locally, it'll be good enough, and sometimes it's an even better idea to keep it in the same language the rest of the project is. It all depends and what language a script is made in shouldn't be considered a "smell".

show 3 replies