-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup-mac-for-development.sh
More file actions
107 lines (89 loc) · 2.07 KB
/
Copy pathsetup-mac-for-development.sh
File metadata and controls
107 lines (89 loc) · 2.07 KB
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
101
102
103
104
105
106
107
#!/bin/zsh
clear
echo
echo "\n
CTH24\n
Setup Mac Development\n
---------------\n
https://github.com/CTH24/setup-mac-for-development\n
Version: 1.0\n
" | boxes -d twisted -a c
echo
echo '\t1: Install Basics'
echo '\t2: Install User Interface Tool'
echo '\t3: Install Development Tools'
echo '\t4: Install Office Tools'
echo '\t5: Install DevOps Tools'
echo '\t6: Install Communication Tools'
echo '\t7: Install Graphic Tools'
echo '\t8: Install Gaming'
echo
echo '\ti: Install All \t\tu: Update All'
echo '\tx: Exit'
echo '\n'
read -p " Your choice: " selection
# Basics
if [ "$selection" == "1" ]; then
clear
for f in ./setup/basics/**; do sh $f; done
fi
# User Interface
if [ "$selection" == "2" ]; then
clear
for f in ./setup/ui/**; do sh $f; done
fi
# Development
if [ "$selection" == "3" ]; then
clear
for f in ./setup/development/**; do sh $f; done
fi
# Office
if [ "$selection" == "4" ]; then
clear
for f in ./setup/office/**; do sh $f; done
fi
# DevOps
if [ "$selection" == "5" ]; then
clear
for f in ./setup/devops/**; do sh $f; done
fi
# Communication
if [ "$selection" == "6" ]; then
clear
for f in ./setup/communication/**; do sh $f; done
fi
# Graphic
if [ "$selection" == "7" ]; then
clear
for f in ./setup/graphic/**; do sh $f; done
fi
# Gaming
if [ "$selection" == "8" ]; then
clear
for f in ./setup/gaming/**; do sh $f; done
fi
# Update
if [ "$selection" == "u" ]; then
clear
sh ./update/update_homebrew_packages.sh
fi
# Install All Packages
if [ "$selection" == "i" ]; then
clear
for f in ./setup/basics/**; do sh $f; done
for f in ./setup/development/**; do sh $f; done
for f in ./setup/ui/**; do sh $f; done
for f in ./setup/office/**; do sh $f; done
for f in ./setup/devops/**; do sh $f; done
for f in ./setup/communication/**; do sh $f; done
for f in ./setup/graphic/**; do sh $f; done
for f in ./setup/gaming/**; do sh $f; done
fi
if [ "$selection" == "x" ]; then
clear
exit
fi
echo
read -p "Press any key to resume ..."
echo
sh ./setup-mac-for-development.sh