123456789101112131415161718192021222324 |
- #!/bin/bash
- # mkit - simple install helper
- # See LICENSE file for copyright and license details.
-
- die() {
- echo "$@" && exit 9
- }
-
- export MKIT_VERSION=0.0.1
-
- export MKIT_DIR=${MKIT_DIR:-$(dirname "$0")}
- export MKIT_LOCAL=${MKIT_LOCAL:-.mkit}
-
- . "$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 "$@"
|