Skip to content

Releases: Chemaclass/bashdep

0.1

05 Oct 21:51
3282754
Compare
Choose a tag to compare

Initial release

  • bashdep::setup
  • bashdep::install

Demo

#!/bin/bash
# Make sure the dependency manager is installed
if [ ! -f lib/bashdep ]; then
  [[ ! -d "lib" ]] && mkdir -p "lib"
  curl -s -L -o lib/bashdep \
    https://github.com/Chemaclass/bashdep/releases/download/0.1/bashdep
  chmod +x lib/bashdep
fi

DEPENDENCIES=(
  "https://github.com/TypedDevs/bashunit/releases/download/0.17.0/bashunit"
  "https://github.com/Chemaclass/create-pr/releases/download/0.6/create-pr"
  "https://github.com/Chemaclass/bash-dumper/releases/download/0.1/dumper.sh@dev"
)

source lib/bashdep
bashdep::setup dir="lib" dev-dir="src/dev" silent=false
bashdep::install "${DEPENDENCIES[@]}"

Full Changelog: https://github.com/Chemaclass/bashdep/commits/0.1