mirror of
https://github.com/nicholaswilde/recipes.git
synced 2026-08-18 11:05:26 +00:00
build: remove libbash git submodules and dependencies
This commit is contained in:
8
.github/dependabot.yml
vendored
8
.github/dependabot.yml
vendored
@ -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
6
.gitmodules
vendored
@ -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
|
||||
@ -1,4 +1,2 @@
|
||||
cook/**
|
||||
libbash/
|
||||
scripts/libbash/
|
||||
docs/reference/charts.md
|
||||
|
||||
@ -3,8 +3,6 @@ extends: default
|
||||
|
||||
ignore: |
|
||||
**/.github/**
|
||||
libbash/**
|
||||
scripts/libbash/**
|
||||
|
||||
rules:
|
||||
indentation: disable
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -1,8 +1,6 @@
|
||||
[files]
|
||||
extend-exclude = [
|
||||
"docs/assets/images/**",
|
||||
"libbash/**",
|
||||
"scripts/libbash/**",
|
||||
"conductor/**",
|
||||
"*.jpg",
|
||||
"*.png",
|
||||
|
||||
1
libbash
1
libbash
Submodule libbash deleted from b17c815490
@ -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}"
|
||||
|
||||
@ -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}"
|
||||
}
|
||||
|
||||
@ -7,8 +7,6 @@ def main():
|
||||
|
||||
exclusions = [
|
||||
"docs/assets/images/**",
|
||||
"libbash/**",
|
||||
"scripts/libbash/**",
|
||||
"conductor/**",
|
||||
"*.jpg",
|
||||
"*.png",
|
||||
|
||||
@ -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
@ -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 {} +
|
||||
|
||||
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user