Bash dependency checker
Go to file
b1ek 388ab8f020
feat: implement --yield-deps-only and fix tag issues
2024-09-07 17:06:06 +10:00
LICENSE.md init repo 2024-06-02 19:32:17 +10:00
README.md feat: ignore next line keyword 2024-09-07 16:58:54 +10:00
build.sh init repo 2024-06-02 19:32:17 +10:00
ci.sh tweak the ci build script to have lower concurrency 2024-06-13 20:58:57 +10:00
finder.go feat: ignore next line keyword 2024-09-07 16:58:54 +10:00
go.mod init repo 2024-06-02 19:32:17 +10:00
go.sum init repo 2024-06-02 19:32:17 +10:00
main.go feat: implement --yield-deps-only and fix tag issues 2024-09-07 17:06:06 +10:00
rdc.sh make RDC actually exit on failure 2024-06-22 21:21:53 +10:00
run.sh init repo 2024-06-02 19:32:17 +10:00
template.go fix: dont print header if no deps 2024-07-31 02:39:11 +10:00

README.md

bshchk

a runtime bash dependency checker. this is useful when you want to assure that ALL external commands you have used will be present at runtime.

usage

bshchk source.sh with_bshchk.sh
bshchk '' with_bshchk.sh # will read from stdin
bshchk # will read from stdin, and write to stdin

tags

# To explicitly add curl:
#bshchk:add-cmd curl

# To disable checking for one curl:
#bshchk:ignore-cmd curl

# You can add/ignore multiple commands at once:
#bshchk:add-cmd curl wget

# To ignore next line:
#bshchk:ignore-next-line
curl # won't be checked

license

bshchk - a bash runtime dependency checker
Copyright (C) 2024  blek! <me@blek.codes>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, version 3  of the License,  and not  a
later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.