diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 7f33f079..f806f029 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -12,11 +12,3 @@ updates: - "nicholaswilde" assignees: - "nicholaswilde" - # Update the git submodules - - package-ecosystem: "gitsubmodule" - directory: "/" - schedule: - interval: "daily" - labels: - - "dependencies" - - "automerge" diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index faee098d..00000000 --- a/.gitmodules +++ /dev/null @@ -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 diff --git a/.markdownlintignore b/.markdownlintignore index 79c0d437..1d0d207c 100644 --- a/.markdownlintignore +++ b/.markdownlintignore @@ -1,4 +1,2 @@ cook/** -libbash/ -scripts/libbash/ docs/reference/charts.md diff --git a/.yamllint b/.yamllint index a0800be5..4a69f565 100644 --- a/.yamllint +++ b/.yamllint @@ -3,8 +3,6 @@ extends: default ignore: | **/.github/** - libbash/** - scripts/libbash/** rules: indentation: disable diff --git a/Taskfile.yaml b/Taskfile.yaml index 2e7e9ac3..90409328 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -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: diff --git a/_typos.toml b/_typos.toml index a3c723a1..b4c1d912 100644 --- a/_typos.toml +++ b/_typos.toml @@ -1,8 +1,6 @@ [files] extend-exclude = [ "docs/assets/images/**", - "libbash/**", - "scripts/libbash/**", "conductor/**", "*.jpg", "*.png", diff --git a/libbash b/libbash deleted file mode 160000 index b17c8154..00000000 --- a/libbash +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b17c815490e5a67909848d6cd54dea3f96728f6b diff --git a/scripts/comments.sh b/scripts/comments.sh index 409d1e99..5e235c2f 100755 --- a/scripts/comments.sh +++ b/scripts/comments.sh @@ -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}" diff --git a/scripts/commit.sh b/scripts/commit.sh index bf300a8c..4b1d7d51 100755 --- a/scripts/commit.sh +++ b/scripts/commit.sh @@ -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}" } diff --git a/scripts/generate_typos_config.py b/scripts/generate_typos_config.py index 09ab1dfc..9faee045 100644 --- a/scripts/generate_typos_config.py +++ b/scripts/generate_typos_config.py @@ -7,8 +7,6 @@ def main(): exclusions = [ "docs/assets/images/**", - "libbash/**", - "scripts/libbash/**", "conductor/**", "*.jpg", "*.png", diff --git a/scripts/lib/libbash b/scripts/lib/libbash index c69d0247..c61a5f3d 100644 --- a/scripts/lib/libbash +++ b/scripts/lib/libbash @@ -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 "$@" +} + diff --git a/scripts/libbash b/scripts/libbash deleted file mode 160000 index b17c8154..00000000 --- a/scripts/libbash +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b17c815490e5a67909848d6cd54dea3f96728f6b diff --git a/scripts/linkcheck.sh b/scripts/linkcheck.sh index be7632e8..2b9a0c24 100755 --- a/scripts/linkcheck.sh +++ b/scripts/linkcheck.sh @@ -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 {} + diff --git a/scripts/move.sh b/scripts/move.sh index 4404e25c..056f95d7 100755 --- a/scripts/move.sh +++ b/scripts/move.sh @@ -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"