32
submitted 2 years ago* (last edited 2 years 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

all 4 comments
sorted by: hot top new old
[-] anzo@programming.dev 3 points 2 years ago

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

[-] blek@programming.dev 2 points 2 years ago

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

this post was submitted on 04 Jun 2024
32 points (97.1% liked)

Linux

14869 readers
769 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

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

founded 3 years ago
MODERATORS