-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathupdate_files.sh
92 lines (59 loc) · 3.76 KB
/
update_files.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
cd small-amp/runner
PRJ=Bloc
python3 runner.py -r longtable -d "../../pharo-projects-files/$PRJ" -p "$PRJ" | tail -n +4 | sed -e 's/ & /\t/g' -e 's/\\\\$//g' > "../../tables/$PRJ-details.tsv"
PRJ=DiscordSt
python3 runner.py -r longtable -d "../../pharo-projects-files/$PRJ" -p "$PRJ" | tail -n +4 | sed -e 's/ & /\t/g' -e 's/\\\\$//g' > "../../tables/$PRJ-details.tsv"
PRJ=MaterialDesignLite
python3 runner.py -r longtable -d "../../pharo-projects-files/$PRJ" -p "$PRJ" | tail -n +4 | sed -e 's/ & /\t/g' -e 's/\\\\$//g' > "../../tables/$PRJ-details.tsv"
PRJ=Roassal3
python3 runner.py -r longtable -d "../../pharo-projects-files/$PRJ" -p "$PRJ" | tail -n +4 | sed -e 's/ & /\t/g' -e 's/\\\\$//g' > "../../tables/$PRJ-details.tsv"
PRJ=Telescope
python3 runner.py -r longtable -d "../../pharo-projects-files/$PRJ" -p "$PRJ" | tail -n +4 | sed -e 's/ & /\t/g' -e 's/\\\\$//g' > "../../tables/$PRJ-details.tsv"
PRJ=openponk
python3 runner.py -r longtable -d "../../pharo-projects-files/$PRJ" -p "$PRJ" | tail -n +4 | sed -e 's/ & /\t/g' -e 's/\\\\$//g' > "../../tables/$PRJ-details.tsv"
PRJ=pharo-launcher
python3 runner.py -r longtable -d "../../pharo-projects-files/$PRJ" -p "$PRJ" | tail -n +4 | sed -e 's/ & /\t/g' -e 's/\\\\$//g' > "../../tables/$PRJ-details.tsv"
PRJ=DataFrame
python3 runner.py -r longtable -d "../../pharo-projects-files/$PRJ" -p "$PRJ" | tail -n +4 | sed -e 's/ & /\t/g' -e 's/\\\\$//g' > "../../tables/$PRJ-details.tsv"
PRJ=GraphQL
python3 runner.py -r longtable -d "../../pharo-projects-files/$PRJ" -p "$PRJ" | tail -n +4 | sed -e 's/ & /\t/g' -e 's/\\\\$//g' > "../../tables/$PRJ-details.tsv"
PRJ=PolyMath
python3 runner.py -r longtable -d "../../pharo-projects-files/$PRJ" -p "$PRJ" | tail -n +4 | sed -e 's/ & /\t/g' -e 's/\\\\$//g' > "../../tables/$PRJ-details.tsv"
PRJ=Seaside
python3 runner.py -r longtable -d "../../pharo-projects-files/$PRJ" -p "$PRJ" | tail -n +4 | sed -e 's/ & /\t/g' -e 's/\\\\$//g' > "../../tables/$PRJ-details.tsv"
PRJ=petitparser2
python3 runner.py -r longtable -d "../../pharo-projects-files/$PRJ" -p "$PRJ" | tail -n +4 | sed -e 's/ & /\t/g' -e 's/\\\\$//g' > "../../tables/$PRJ-details.tsv"
PRJ=zinc
python3 runner.py -r longtable -d "../../pharo-projects-files/$PRJ" -p "$PRJ" | tail -n +4 | sed -e 's/ & /\t/g' -e 's/\\\\$//g' > "../../tables/$PRJ-details.tsv"
cd ../../tables
HD='id\ttest class\totm\ttloc\ttmut\toms\toam\tams\timp\tatm\tinck\takm\ttime'
PRJ=Bloc
echo "$HD\n$(cat $PRJ-details.tsv)" > "$PRJ-details.tsv"
PRJ=DiscordSt
echo "$HD\n$(cat $PRJ-details.tsv)" > "$PRJ-details.tsv"
PRJ=MaterialDesignLite
echo "$HD\n$(cat $PRJ-details.tsv)" > "$PRJ-details.tsv"
PRJ=Roassal3
echo "$HD\n$(cat $PRJ-details.tsv)" > "$PRJ-details.tsv"
PRJ=Telescope
echo "$HD\n$(cat $PRJ-details.tsv)" > "$PRJ-details.tsv"
PRJ=openponk
echo "$HD\n$(cat $PRJ-details.tsv)" > "$PRJ-details.tsv"
PRJ=pharo-launcher
echo "$HD\n$(cat $PRJ-details.tsv)" > "$PRJ-details.tsv"
PRJ=DataFrame
echo "$HD\n$(cat $PRJ-details.tsv)" > "$PRJ-details.tsv"
PRJ=GraphQL
echo "$HD\n$(cat $PRJ-details.tsv)" > "$PRJ-details.tsv"
PRJ=PolyMath
echo "$HD\n$(cat $PRJ-details.tsv)" > "$PRJ-details.tsv"
PRJ=Seaside
echo "$HD\n$(cat $PRJ-details.tsv)" > "$PRJ-details.tsv"
PRJ=petitparser2
echo "$HD\n$(cat $PRJ-details.tsv)" > "$PRJ-details.tsv"
PRJ=zinc
echo "$HD\n$(cat $PRJ-details.tsv)" > "$PRJ-details.tsv"
python3 buildTable.py > sheet1.csv
HD='id,class,# org.tmethod,% mut.score,# new.tmethod,PR.candidates,# killed.origial,# killed.amplified,% inc.killed,# killed.aamp,% inc.killed.aamp,time,project,High/Low'
echo "$HD\n$(cat sheet1.csv)" > "sheet1.csv"
cat sheet1.csv