| 1234567891011121314151617181920212223242526 | #!/bin/bash
# mkit - simple install helper
# See LICENSE file for copyright and license details.
die() {
    echo "$@" && exit 9
}
export MKIT_VERSION=0.0.13
export MKIT_DIR=${MKIT_DIR:-$(dirname "$0")}
export MKIT_LOCAL=${MKIT_LOCAL:-.mkit}
export MKIT_DRY=${MKIT_DRY:-false}
export MKIT_DEBUG=${MKIT_DEBUG:-false}
. "$MKIT_DIR/include/mkit.sh" || die "failed to init; check if MKIT_DIR is set properly: $MKIT_DIR"
case "$1" in
    --version-semver) echo "$MKIT_VERSION"; exit 0 ;;
    --version)        echo "Mkit (Simple Makefile target helper) $MKIT_VERSION"
                      exit 0 ;;
esac
mkit_init
route "$@"
 |