Skip to content

Commit e0485e3

Browse files
committed
fix scripts
1 parent f63cad9 commit e0485e3

File tree

10 files changed

+21
-18
lines changed

10 files changed

+21
-18
lines changed

measure/results.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"sixspeed": "426",
3232
"renderflat": "893",
3333
"renderdeep": "1084",
34-
"size": "4.3/6.5"
34+
"size": "TODO"
3535
},
3636
{
3737
"npm": "216113.0.3",
@@ -50,7 +50,7 @@
5050
"sixspeed": "431",
5151
"renderflat": "878",
5252
"renderdeep": "1208",
53-
"size": "4.4/6.6"
53+
"size": "TODO"
5454
},
5555
{
5656
"npm": "-",
@@ -70,7 +70,7 @@
7070
"sixspeed": "410",
7171
"renderflat": "900",
7272
"renderdeep": "1350",
73-
"size": "4.3/6.5"
73+
"size": "TODO"
7474
},
7575
{
7676
"npm": "-",
@@ -83,14 +83,14 @@
8383
},
8484
"revision": "216113",
8585
"revisionDate": "2017-05-03",
86-
"tti": "TODO",
86+
"tti": "563",
8787
"sunspider": "1045",
8888
"jetstream": "9164",
8989
"octane2": "3856",
9090
"sixspeed": "574",
9191
"renderflat": "900",
9292
"renderdeep": "1165",
93-
"size": "4.3/6.5"
93+
"size": "7.0/?"
9494
},
9595
{
9696
"npm": "-",

measure/scripts/measure.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ function run() {
4444

4545
const resultLines = _.split(resultsStr, '\n');
4646
parseAndPrintTestResults(resultLines);
47-
48-
exec.execSync(`find ./android/app/build/intermediates/transforms/mergeJniLibs/release | xargs ls -lh`);
4947
}
5048

5149
function parseAndPrintTestResults(resultLines) {

scripts/compile/all.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -ex
1+
#!/bin/bash -e
22

33
SCRIPT_DIR=$(cd `dirname $0`; pwd)
44
export ANDROID_API=21
@@ -13,14 +13,14 @@ compile_arch() {
1313
}
1414

1515
compile() {
16-
for arch in arm x86
16+
for arch in arm #x86
1717
do
1818
export JSC_ARCH=$arch
1919
export ENABLE_COMPAT=1
2020
compile_arch
2121
done
2222

23-
for arch in arm64 x86_64
23+
for arch in arm64 #x86_64
2424
do
2525
export JSC_ARCH=$arch
2626
export ENABLE_COMPAT=0

scripts/compile/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -ex
1+
#!/bin/bash -e
22

33
# functions
44
fix_zero_value_flag() {

scripts/compile/icu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -ex
1+
#!/bin/bash -e
22

33
SCRIPT_DIR=$(cd `dirname $0`; pwd)
44
source $SCRIPT_DIR/common.sh

scripts/compile/jsc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -ex
1+
#!/bin/bash -e
22

33
SCRIPT_DIR=$(cd `dirname $0`; pwd)
44
source $SCRIPT_DIR/common.sh

scripts/compile/toolchain.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -ex
1+
#!/bin/bash -e
22

33
SCRIPT_DIR=$(cd `dirname $0`; pwd)
44
source $SCRIPT_DIR/common.sh

scripts/download.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -ex
1+
#!/bin/bash -e
22

33
# download sources
44
rm -rf $PWD/build

scripts/prep.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -ex
1+
#!/bin/bash -e
22

33
ROOTDIR=$PWD
44
TARGETDIR=$ROOTDIR/build/target

scripts/start.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash -ex
1+
#!/bin/bash -e
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}")
@@ -14,5 +14,10 @@ cd $ROOTDIR/lib
1414
./gradlew clean createAAR --project-prop revision="$REVISION" --project-prop i18n="$npm_package_config_i18n"
1515
cd $ROOTDIR
1616

17-
printf "\n\n\n\n\n\t\t\tCompiled Version: \x1B[32m$REVISION\x1B[0m\n\n\n\nconfig:\n$CONFIG\n\ninfo:\n$INFO\n\n"
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"
1823
say -v Carmit "I am not slacking off, my code's compiling."

0 commit comments

Comments
 (0)