-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbootstrap.sh
executable file
·100 lines (47 loc) · 2.44 KB
/
bootstrap.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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#!/usr/bin/env bash
# ------------------------------------------------------------------------------
# Bootstrap
# ------------------------------------------------------------------------------
# source ./extras/colors
printf "\n$INFO%s$RESET\n" "Beginning setup bootstrapping..."
# Create Directories
# ------------------------------------------------------------------------------
# Create directories for setup.
printf "\n$INFO%s$RESET\n" "1) Creating necessary directories:"
./scripts/create_directories.sh
# Copy & Move Files
# ------------------------------------------------------------------------------
# Copy and move files into specified directory that can not be symlinked.
printf "\n$INFO%s$RESET\n" "2) Copying and moving files into specified directories:"
./scripts/copy_move.sh
# Symlink Dotfiles
# ------------------------------------------------------------------------------
# Symlink necessary dotfiles into home directory.
printf "\n$INFO%s$RESET\n" "3) Symlinking dotfiles into specified directories:"
./scripts/symlinks.sh
# Install Homebrew
# ------------------------------------------------------------------------------
printf "\n$INFO%s$RESET\n" "4) Installing Homebrew:"
./scripts/homebrew.sh
# Install Binary Packages With Homebrew
# ------------------------------------------------------------------------------
printf "\n$INFO%s$RESET\n" "5) Installing binary application packages with Homebrew:"
./scripts/brew-cellar.sh
# Install Native Mac Applications With Cask
# ------------------------------------------------------------------------------
printf "\n$INFO%s$RESET\n" "6) Installing native applications with Homebrew Cask."
./scripts/brew-cask.sh
# Install non-Homebrew Binary Packages
# ------------------------------------------------------------------------------
printf "\n$INFO%s$RESET\n" "7) Installing binary application packages."
./scripts/bins_installations.sh
# Install non-Homebrew Applications
# ------------------------------------------------------------------------------
printf "\n$INFO%s$RESET\n" "8) Installing native applications."
./scripts/apps_installations.sh
# Reload bash_profile
# ------------------------------------------------------------------------------
source ~/.bash_profile
# Bootsrap Process Completed
# ------------------------------------------------------------------------------
printf "\n$SUCCESS%s$RESET\n" "Bootstrapping process completed! Enjoy your new setup 🍻"