34
submitted 11 months ago* (last edited 11 months ago) by blek@programming.dev to c/linux@programming.dev

https://bshchk.blek.codes/

this is a program that parses a bash file, collects all dependencies and then adds a snippet at the start of the file that would check if they are installed at the earliest point possible, to prevent situations where a program just fails in the middle of execution because some random dependency is not installed

i've originally made this to use it in another project, but might just as well share with y'all

you are viewing a single comment's thread
view the rest of the comments
[-] anzo@programming.dev 3 points 11 months ago

This is great. Good complimentary functionality to ShellCheck (linter).

[-] blek@programming.dev 2 points 11 months ago

its not exactly a complimentary functionality to shellcheck, it just uses it as a dependency

this post was submitted on 04 Jun 2024
34 points (100.0% liked)

Linux

7276 readers
207 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS