Skip to content

Commit 579b51d

Browse files
committed
print info
1 parent 454a033 commit 579b51d

File tree

4 files changed

+21
-29
lines changed

4 files changed

+21
-29
lines changed

measure/results.json

Lines changed: 6 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,12 @@
9595
{
9696
"npm": "-",
9797
"date": "-",
98-
"config": "2.18.2-8.0.0_r34-x32-en-tip",
99-
"revision": "216113",
98+
"config": {
99+
"webkitGTK": "2.18.2",
100+
"androidICU": "8.0.0_r34",
101+
"i18n": false
102+
},
103+
"revision": "224109",
100104
"revisionDate": "2017-10-27",
101105
"tti": "TODO",
102106
"sunspider": "480",
@@ -107,25 +111,6 @@
107111
"renderdeep": "1300",
108112
"size": "TODO"
109113
},
110-
{
111-
"npm": "-",
112-
"date": "-",
113-
"config": {
114-
"webkitGTK": "2.18.2",
115-
"androidICU": "8.0.0_r34",
116-
"i18n": false
117-
},
118-
"revision": "216113",
119-
"revisionDate": "2017-10-27",
120-
"tti": "TODO",
121-
"sunspider": "TODO",
122-
"jetstream": "TODO",
123-
"octane2": "TODO",
124-
"sixspeed": "TODO",
125-
"renderflat": "TODO",
126-
"renderdeep": "TODO",
127-
"size": "TODO"
128-
},
129114
{
130115
"npm": "-",
131116
"date": "-",

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"/dist"
2121
],
2222
"scripts": {
23+
"info": "./scripts/info.sh",
2324
"download": "./scripts/download.sh",
2425
"prep": "./scripts/prep.sh",
2526
"start": "./scripts/start.sh"

scripts/info.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash -e
2+
3+
ROOTDIR=$PWD
4+
REVISION=$(svn info --show-item last-changed-revision "https://svn.webkit.org/repository/webkit/releases/WebKitGTK/webkit-${npm_package_config_webkitGTK}")
5+
INFO=$(svn info "https://svn.webkit.org/repository/webkit/releases/WebKitGTK/webkit-${npm_package_config_webkitGTK}")
6+
CONFIG=$(node -e "console.log(require('./package.json').config)")
7+
8+
SIZE=$(du -ah $ROOTDIR/build/compiled)
9+
10+
printf "\n\n\n\n\n\t\t\tCompiled Version: \x1B[32m$REVISION\x1B[0m\n\n\n"
11+
printf "Config:\t$CONFIG\n\n"
12+
printf "Info:\t$INFO\n\n"
13+
printf "Size:\t$SIZE\n\n"

scripts/start.sh

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
ROOTDIR=$PWD
44
REVISION=$(svn info --show-item last-changed-revision "https://svn.webkit.org/repository/webkit/releases/WebKitGTK/webkit-${npm_package_config_webkitGTK}")
5-
INFO=$(svn info "https://svn.webkit.org/repository/webkit/releases/WebKitGTK/webkit-${npm_package_config_webkitGTK}")
6-
CONFIG=$(node -e "console.log(require('./package.json').config)")
75

86
# compile
97
rm -rf $ROOTDIR/build/compiled
@@ -14,10 +12,5 @@ cd $ROOTDIR/lib
1412
./gradlew clean createAAR --project-prop revision="$REVISION" --project-prop i18n="$npm_package_config_i18n"
1513
cd $ROOTDIR
1614

17-
SIZE=$(du -ah $ROOTDIR/build/compiled)
18-
19-
printf "\n\n\n\n\n\t\t\tCompiled Version: \x1B[32m$REVISION\x1B[0m\n\n\n"
20-
printf "Config:\t$CONFIG\n\n"
21-
printf "Info:\t$INFO\n\n"
22-
printf "Size:\t$SIZE\n\n"
15+
npm run info
2316
say -v Carmit "I am not slacking off, my code's compiling."

0 commit comments

Comments
 (0)