build: remove libbash git submodules and dependencies

This commit is contained in:
nιcнolaѕ wιlde
2026-06-02 22:58:17 -07:00
parent 0a678d9a9d
commit e3b72ad8ec
14 changed files with 23 additions and 40 deletions

View File

@ -12,11 +12,3 @@ updates:
- "nicholaswilde"
assignees:
- "nicholaswilde"
# Update the git submodules
- package-ecosystem: "gitsubmodule"
directory: "/"
schedule:
interval: "daily"
labels:
- "dependencies"
- "automerge"

6
.gitmodules vendored
View File

@ -1,6 +0,0 @@
[submodule "scripts/libbash"]
path = scripts/libbash
url = https://github.com/nicholaswilde/libbash
[submodule "libbash"]
path = libbash
url = https://github.com/nicholaswilde/libbash

View File

@ -1,4 +1,2 @@
cook/**
libbash/
scripts/libbash/
docs/reference/charts.md

View File

@ -3,8 +3,6 @@ extends: default
ignore: |
**/.github/**
libbash/**
scripts/libbash/**
rules:
indentation: disable

View File

@ -162,10 +162,6 @@ tasks:
-e 's/ degrees F/°F/'
-e 's/ degrees/°F/'
-e 's/([[:digit:]]+)[[:space:]]F/\1°F/' {{shellQuote .FILE }}
update:
desc: Update git submodules
cmds:
- "git submodule update --init --recursive --remote"
validate:
desc: Validate zensical.toml
cmds:

View File

@ -1,8 +1,6 @@
[files]
extend-exclude = [
"docs/assets/images/**",
"libbash/**",
"scripts/libbash/**",
"conductor/**",
"*.jpg",
"*.png",

Submodule libbash deleted from b17c815490

View File

@ -2,7 +2,7 @@
set -e
set -o pipefail
readonly DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" >/dev/null 2>&1 && pwd )
for f in $(find "${DIR}" -not -path '*.github*' -not -path '*cook*' -not -path '*libbash*' -not -name '*index.md' -not -name '*README.md' -name \*.md); do
for f in $(find "${DIR}" -not -path '*.github*' -not -path '*cook*' -not -name '*index.md' -not -name '*README.md' -name \*.md); do
s=$(head -n 1 "${f}")
if [[ "${s}" != "---" ]]; then
printf "%s: %s\n" "${f}" "${s}"

View File

@ -32,11 +32,6 @@ readonly DEBUG
# shellcheck source=/dev/null
source "${DIR}/lib/libbash"
# shellcheck source=/dev/null
source "${DIR}/libbash/init"
# shellcheck source=/dev/null
source "${LIBBASH_DIR}/all"
function file_status(){
git diff --quiet "${1}"
}

View File

@ -7,8 +7,6 @@ def main():
exclusions = [
"docs/assets/images/**",
"libbash/**",
"scripts/libbash/**",
"conductor/**",
"*.jpg",
"*.png",

View File

@ -170,3 +170,24 @@ function do_checks(){
function get_mime_type(){
file -b --mime-type "${1}"
}
function lb_infoln() {
printf "\033[0;32mINFO: %s\033[0m\n" "$1"
}
function lb_command_exists() {
command_exists "$@"
}
function lb_is_null() {
is_null "$@"
}
function lb_show_version() {
show_version "$@"
}
function lb_usage_error() {
usage_error "$@"
}

Submodule scripts/libbash deleted from b17c815490

View File

@ -3,4 +3,4 @@ set -e
set -o pipefail
readonly DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" >/dev/null 2>&1 && pwd )
cd "${DIR}"
find . -not -path '*.github*' -not -path '*cook*' -not -path '*libbash*' -not -path '*.venv*' -not -path '*.cache*' -name "*.md" -exec lychee {} +
find . -not -path '*.github*' -not -path '*cook*' -not -path '*.venv*' -not -path '*.cache*' -name "*.md" -exec lychee {} +

View File

@ -31,11 +31,6 @@ readonly DEBUG
# shellcheck source=/dev/null
source "${DIR}/lib/libbash"
# shellcheck source=/dev/null
source "${DIR}/libbash/init"
# shellcheck source=/dev/null
source "${LIBBASH_DIR}/all"
function cleanup(){
if command_exists task; then
lb_infoln "Cleaning up"