You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
358 B
17 lines
358 B
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
DOTBOT_DIR="dotbot"
|
|
|
|
PLUGIN_YAY="dotbot-yay/yay.py"
|
|
|
|
DOTBOT_BIN="bin/dotbot"
|
|
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
|
|
cd "${BASEDIR}"
|
|
git -C "${DOTBOT_DIR}" submodule sync --quiet --recursive
|
|
git submodule update --init --recursive "${DOTBOT_DIR}"
|
|
|
|
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" "${@}"
|