-
Notifications
You must be signed in to change notification settings - Fork 137
/
Copy pathreplicate_batch.sh
executable file
·29 lines (24 loc) · 1.27 KB
/
replicate_batch.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
#!/usr/bin/env bash
# check git status clean before replicating, ignore if replicate_batch.sh is the only modified file, exit if not clean
if [[ $(git status -s | wc -l) -gt 1 ]]; then
echo "Git status is not clean, please commit changes before replicating"
exit 1
fi
# if [[ -n $(git status -s) ]]; then
# echo "Git status is not clean, please commit changes before replicating"
# exit 1
# fi
echo "Replicating..."
# ./replicate.sh src/app/common "ui.service.ts ui.service.spec.ts" "8 10 11 12"
# ./replicate.sh src/app/page-not-found "*" "8 10 11 12"
# ./replicate.sh src/app/user-controls/lemon-rater "*" "8 10 11 12"
# ./replicate.sh src "main.ts" "8 10 11 12"
# ./replicate.sh src/app "app.routes.ts app.config.ts" "10 11 12"
# ./replicate.sh src/app "provideGraphQL.ts" "10 11 12"
# ./replicate.sh src/app/auth "auth.graphql.queries.ts auth.graphql.custom.service.ts" "10 11 12"
# ./replicate.sh src/app "app.component.ts app.component.spec.ts" "8 10 11 12"
# ./replicate.sh src/app/auth "auth.guard.ts" "8 10 11 12"
# ./replicate.sh src/app/login "login.component.ts" "8 10 11 12"
# ./replicate.sh src/app/common "ui.service.ts ui.service.spec.ts" "8 10 11 12"
# ./replicate.sh src/app/user/user "user.ts" "8 10 11 12"
# ./replicate.sh src/app/auth "auth.service.ts" "8 10 11 12"