-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathinstall.sh
executable file
·36 lines (29 loc) · 1.07 KB
/
install.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/env bash
# -*- coding: utf-8 -*-
# vim: set ft=sh et ts=4 sw=4 sts=4:
# ----------------------------------------------------------------------------#
# _ _ _ _ _
# (_)_ __ ___| |_ __ _| | | ___| |__
# | | '_ \/ __| __/ _` | | | / __| '_ \
# | | | | \__ \ || (_| | | |_\__ \ | | |
# |_|_| |_|___/\__\__,_|_|_(_)___/_| |_|
#
# Author: Serhat Teker <me@serhatteker.com>
# Source: https://github.com/SerhatTeker/dotfiles
#
# Install dotfiles
# ----------------------------------------------------------------------------#
# Bash safeties: exit on error, no unset variables, pipelines can't hide errors
set -o errexit
set -o pipefail
# Locate the root directory
ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
# shellcheck disable=1091
source "${ROOT}/dotfiles/install/common.sh"
# TODO: Add base/full separation
main() {
info "Started installation"
bash "${ROOT}/install/base.sh"
success "Finished installation. Go build something!"
}
main