-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.sh
executable file
·70 lines (66 loc) · 1.56 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/bin/bash
libdir=$(dirname "$(readlink -f $0)")
ln -snf ${libdir}/install.sh ${HOME}/bin/dotfiles-update
INSTALL_TYPE=$1
case $INSTALL_TYPE in
all)
${libdir}/install/dependencies.sh
${libdir}/install/system.sh
${libdir}/install/tools.sh
${libdir}/install/dotfiles.sh
${libdir}/install/ruby.sh
${libdir}/install/python.sh
${libdir}/install/sdkman.sh
${libdir}/install/node.sh
${libdir}/install/tfsuite.sh
${libdir}/install/neovim.sh
${libdir}/install/windows.sh
;;
system)
${libdir}/install/system.sh
;;
tools)
${libdir}/install/tools.sh
;;
dotfiles)
${libdir}/install/dotfiles.sh
;;
ruby)
${libdir}/install/ruby.sh
;;
python)
${libdir}/install/python.sh
;;
sdk)
${libdir}/install/sdkman.sh
;;
nodejs)
${libdir}/install/node.sh
;;
neovim)
${libdir}/install/neovim.sh
;;
windows)
${libdir}/install/windows.sh
;;
tfsuite)
${libdir}/install/tfsuite.sh
;;
*)
echo "
Usage: dotfiles-update [INSTALL_TYPE]
Installation types available:
all - Run complex installation/update of everything. If this is 1st installtion you need to choose this option.
system - System OS update.
tools - Custom tools update that are not available through system package system.
dotfiles - Install dotfiles.
ruby - Update rubies.
python - Update python.
sdk - Update SDKMAN tools.
nodejs - Update NodeJS.
neovim - Update Neovim.
windows - Update windows dotfiles.
tfsuite - Terraform and Terragrunt.
"
;;
esac