From e85c08ef4fd33184705a1808a86f8a2030391076 Mon Sep 17 00:00:00 2001 From: Anish Athalye Date: Thu, 20 Mar 2014 22:06:18 -0400 Subject: [PATCH] Initial commit --- .gitmodules | 3 +++ dotbot | 1 + install | 12 ++++++++++++ install.conf.json | 8 ++++++++ 4 files changed, 24 insertions(+) create mode 100644 .gitmodules create mode 160000 dotbot create mode 100755 install create mode 100644 install.conf.json diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..1ce5c11 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "dotbot"] + path = dotbot + url = https://github.com/anishathalye/dotbot diff --git a/dotbot b/dotbot new file mode 160000 index 0000000..a8edc8e --- /dev/null +++ b/dotbot @@ -0,0 +1 @@ +Subproject commit a8edc8ee2bc2178507d52d345b709cc3392dfa64 diff --git a/install b/install new file mode 100755 index 0000000..c60029d --- /dev/null +++ b/install @@ -0,0 +1,12 @@ +#!/bin/bash + +CONFIG="install.conf.json" +DOTBOT_DIR="dotbot" + +DOTBOT_BIN="bin/dotbot" +BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" + +cd "${BASEDIR}" +git submodule update --init --recursive ${DOTBOT_DIR} + +"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" -d "${BASEDIR}" -c "${CONFIG}" $@ diff --git a/install.conf.json b/install.conf.json new file mode 100644 index 0000000..a871468 --- /dev/null +++ b/install.conf.json @@ -0,0 +1,8 @@ +[ + { + "link": {} + }, + { + "shell": [] + } +]