Sha256: eb1976273132c5773b1ff6a931da6da4bbff8e820342936934e7324ada49305e

Contents?: true

Size: 482 Bytes

Versions: 8

Compression:

Stored size: 482 Bytes

Contents

# shellcheck shell=bash

. "${SCRIPT_DIR}/setupkit.sh.lib"

require_command "realpath"
require_command "cat"

ENV_FILE=$(realpath "${SCRIPT_DIR}")/docker-compose.env

load_docker_compose_env() {
  . "${ENV_FILE}"
}

exec_hook_if_exists() {
  script_name=$1
  shift
  if [ -x "${SCRIPT_DIR}"/"${script_name}" ]; then
    log "🪝" "${script_name} exists - executing"
    "${SCRIPT_DIR}"/"${script_name}" "${@}"
  else
    debug "${script_name} does not exist"
  fi
}
# vim: ft=bash

Version data entries

8 entries across 8 versions & 3 rubygems

Version Path
gli-2.22.1 dx/dx.sh.lib
brut-0.0.1 dx/dx.sh.lib
gli-2.22.0 dx/dx.sh.lib
with_clues-1.3.0 dx/dx.sh.lib
gli-2.21.5 dx/dx.sh.lib
gli-2.21.4 dx/dx.sh.lib
gli-2.21.3 dx/dx.sh.lib
gli-2.21.2 dx/dx.sh.lib