From 00a30c943a79d2da265f11d18cb05b9801c3a430 Mon Sep 17 00:00:00 2001 From: pancake Date: Sun, 12 Apr 2020 14:14:19 +0200 Subject: [PATCH] Publish the emscripten builds (#16541) --- .travis.yml | 1 + sys/emscripten.sh | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index a7191ecd31..4af617388e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -125,6 +125,7 @@ before_install: after_success: - wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh + - compgen -G "r2js.zip" > /dev/null && bash upload.sh r2js.zip - compgen -G "*.deb" > /dev/null && bash upload.sh *.deb - compgen -G "/tmp/*.pkg" > /dev/null && bash upload.sh /tmp/*.pkg diff --git a/sys/emscripten.sh b/sys/emscripten.sh index 95a82c7c36..fe5f098790 100755 --- a/sys/emscripten.sh +++ b/sys/emscripten.sh @@ -24,3 +24,6 @@ cp -f plugins.emscripten.cfg plugins.cfg ./configure ${CFGFLAGS} --host=emscripten && \ make -s -j ${MAKE_JOBS} DEBUG=0 + +rm -f r2js.zip +zip r2js.zip binr/*/*.js binr/*/*/*.wasm