diff options
| author | Anton Bobov <abobov@gmail.com> | 2019-11-03 16:44:09 +0500 |
|---|---|---|
| committer | Anton Bobov <abobov@gmail.com> | 2019-11-03 16:47:21 +0500 |
| commit | d7ceb2c81316529e2d46e19489fc3b765ef7d84f (patch) | |
| tree | 5f13da51437b6a8e934e37a52a2261c1fe03c673 /install | |
| parent | 0f5d6556337415ce7fdc3fdc200e88ef81fe3b61 (diff) | |
Integrate dotbot.
Diffstat (limited to 'install')
| -rwxr-xr-x | install | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +set -e + +CONFIG="install.conf.yaml" +DOTBOT_DIR="dotbot" + +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}" -c "${CONFIG}" "${@}" |
