-
Notifications
You must be signed in to change notification settings - Fork 2
/
runner.sh
executable file
·77 lines (72 loc) · 2.76 KB
/
runner.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
#!/bin/bash
BASE="http://todomvc.com/"
tests=(
# "architecture-examples/backbone"
"architecture-examples/angularjs"
# "architecture-examples/emberjs"
# "architecture-examples/knockoutjs"
# "architecture-examples/dojo"
# "architecture-examples/yui"
# "architecture-examples/agilityjs"
# "architecture-examples/knockbackjs"
# "architecture-examples/canjs"
# "architecture-examples/maria"
# "architecture-examples/polymer"
# "architecture-examples/react"
# "architecture-examples/spine"
# "vanilla-examples/vanilladart/build"
# "architecture-examples/gwt"
# "architecture-examples/closure"
# "dependency-examples/backbone_require"
# "dependency-examples/flight"
# "vanilla-examples/vanillajs"
# "architecture-examples/jquery"
# # Start of maroon examples
# "labs/architecture-examples/cujo"
# "labs/architecture-examples/montage"
# "labs/architecture-examples/sammyjs"
# "labs/architecture-examples/stapes"
# "labs/architecture-examples/epitome"
# "labs/architecture-examples/somajs"
# "labs/architecture-examples/duel/www"
# "labs/architecture-examples/kendo"
# "labs/architecture-examples/puremvc"
# "labs/architecture-examples/olives"
# "labs/architecture-examples/plastronjs"
# "labs/architecture-examples/dijon"
# "labs/architecture-examples/rappidjs"
# "labs/architecture-examples/extjs_deftjs"
# "labs/architecture-examples/ariatemplates"
# "labs/architecture-examples/enyo_backbone"
# "labs/architecture-examples/angularjs-perf"
# "labs/architecture-examples/sapui5"
# "labs/architecture-examples/exoskeleton"
# "labs/architecture-examples/atmajs"
# "labs/architecture-examples/ractive"
# "labs/architecture-examples/componentjs"
# "labs/architecture-examples/vue"
# "labs/architecture-examples/react-backbone"
# "labs/architecture-examples/angular-dart/web"
# "labs/architecture-examples/batman"
# "labs/architecture-examples/typescript-backbone"
# "labs/architecture-examples/typescript-angular"
# "labs/architecture-examples/serenadejs"
# "labs/architecture-examples/backbone_marionette"
# "labs/architecture-examples/thorax"
# "labs/dependency-examples/chaplin-brunch/public"
# "labs/dependency-examples/knockoutjs_require"
# "labs/dependency-examples/angularjs_require"
# "labs/dependency-examples/canjs_require"
# "labs/dependency-examples/troopjs_require"
# "labs/dependency-examples/thorax_lumbar/public"
# "labs/dependency-examples/somajs_require"
# "labs/dependency-examples/durandal"
# "labs/dependency-examples/lavaca_require"
)
mkdir "reports"
for i in "${tests[@]}"
do
FILE_NAME="reports/"`echo "$i.txt" | sed "s/\//_/g"`
rm "$FILE_NAME"
./node_modules/.bin/pioneer --format=todo_formatter.js --error_formatter=todo_error.js --urlPath="$BASE$i/" | tee -a "$FILE_NAME"
done