-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtest.sh
executable file
·30 lines (21 loc) · 854 Bytes
/
test.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
#!/usr/bin/env bash
set -e
source ~/.bash_profile
echo "Running yamllint..."
yamllint vim/.vintrc.yaml .github/workflows/ci.yml
echo "Running proselint..."
proselint README.md
echo "Running vint..."
vint vim/.vimrc
echo "Running shellcheck..."
shellcheck --severity=warning test.sh scripts/** bash/.bash_profile bash/.bashrc bash/.bash/**
echo "Running jq..."
jq empty < iterm/darkProfile.json
assert "$(command_exists tmux)" "true" 'Tmux not installed'
assert "$(command_exists node)" "true" 'Node not installed'
assert "$(command_exists python3)" "true" 'Python 3 not installed'
assert "$(command_exists bash)" "true" 'Bash not installed'
assert "$(command_exists vim)" "true" 'Vim not installed'
assert "$(command_exists ag)" "true" 'Ag not installed'
assert "$(command_exists stow)" "true" 'Stow not installed'
echo "Everything looks good!"