18 lines
482 B
Bash
18 lines
482 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
# dynamically determine the path to this package
|
||
|
HERE="$( cd "$( dirname "${BASH_SOURCE[0]}" )" > /dev/null && pwd )"
|
||
|
|
||
|
# dynamically take name of package from directory
|
||
|
MASON_NAME=$(basename $(dirname $HERE))
|
||
|
# dynamically take the version of the package from directory
|
||
|
MASON_VERSION=$(basename $HERE)
|
||
|
MASON_LIB_FILE=bin/${MASON_NAME}
|
||
|
|
||
|
. ${MASON_DIR}/mason.sh
|
||
|
|
||
|
# inherit all functions from base
|
||
|
source ${HERE}/../../${MASON_NAME}/base/common.sh
|
||
|
|
||
|
mason_run "$@"
|