-
Notifications
You must be signed in to change notification settings - Fork 0
/
pre-check.sh
executable file
·57 lines (53 loc) · 1.43 KB
/
pre-check.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
#!/bin/bash
nvim --version
node --version
npm --version
yarn --version
python3 --version
# https://github.com/universal-ctags/ctags
ctags --version
# brew install tree
tree --version
# https://github.com/prettier/prettier
# npm -g install prettier
prettier --version
# others
# https://github.com/jesseduffield/lazygit
lazygit --version
# https://github.com/tldr-pages/tldr
tldr --version
# https://github.com/gohugoio/hugo#choose-how-to-install
hugo version
# https://github.com/soimort/you-get#installation
you-get --version
# https://formulae.brew.sh/formula/jq
jq --version
# https://formulae.brew.sh/formula/autojump
# others https://formulae.brew.sh/formula/z
autojump --version # $ j --version
# https://github.com/AlDanial/cloc
cloc --version
# https://formulae.brew.sh/formula/clang-format
clang-format --version
# https://formulae.brew.sh/formula/neofetch
neofetch --version
# brew install coreutils
md5sum --version
# brew install mysql-client
mysql --version
# https://github.com/commitizen/cz-cli#conventional-commit-messages-as-a-global-utility
if type commitizen > /dev/null 2>&1; then
echo 'commitizen command exist'
else
echo 'commitizen command not exist'
exit 1
fi
# https://formulae.brew.sh/formula/telnet
# telnet localhost 8080
# mac native support netcat: nc -vz localhost 8080
if type telnet > /dev/null 2>&1; then
echo '[option]: telnet command exist'
else
echo '[option]: telnet command not exist'
fi
echo -e '\nfinish check!!!'