-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathwork.sh
More file actions
48 lines (34 loc) · 841 Bytes
/
work.sh
File metadata and controls
48 lines (34 loc) · 841 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
44
45
46
47
#! /bin/cat
ans () {
(cd_deployment
ansible --inventory-file=inventory "$@")
}
anp () {
(cd_deployment
ansible-playbook site.yml --inventory-file=inventory "$@")
}
ansd () {
(cd_deployment
ansible --inventory-file=dev "$@")
}
anpd () {
(cd_deployment
ansible-playbook site.yml --inventory-file=dev --limit default "$@")
}
reo () {
if [[ -d testing/portaltest ]]; then
reorder-python-imports --application-directories .:testing/portaltest "$@"
~/jab/bin/imports -u "$@"
else
echo "Cannot find ./dashboard, ./testing" >&2
return 1
fi
}
gc8i () {
git commit -m "SAAS-433: PEP 8 imports
https://www.python.org/dev/peps/pep-0008/#id23"
}
gc8l () {
git commit -m "SAAS-61: PEP 8 line length
https://www.python.org/dev/peps/pep-0008/#id19"
}