-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathupdate.sh
More file actions
43 lines (35 loc) · 508 Bytes
/
update.sh
File metadata and controls
43 lines (35 loc) · 508 Bytes
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
#!/bin/bash
script_dir_path=$(
cd "$(dirname "$0")"
pwd
)
cat <<EOS
AkkeyLab
The elapsed time does not matter.
Because speed is important.
EOS
#
# mac-auto-setup repository update
#
cd $script_dir_path
git checkout master
git pull origin master
#
# skwp/dotfiles repository update
#
cd ~/.yadr
git pull --rebase
rake update
cd $script_dir_path
#
# Homebrew update and upgrade
#
brew upgrade
#
# App Store app upgrade
#
mas upgrade
#
# Ruby plugin update for asdf
#
asdf plugin-update ruby