mirror of
https://github.com/nextcloud/spreed.git
synced 2025-12-17 21:12:20 +01:00
Remove code from bundling webrtc manually
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
1343d9c0b9
commit
5794a151d7
3 changed files with 1 additions and 27 deletions
|
|
@ -2,11 +2,6 @@
|
|||
#name: check-builds
|
||||
#
|
||||
#steps:
|
||||
# - name: check-simplewebrtc-bundle
|
||||
# image: nextcloudci/node:node-7
|
||||
# commands:
|
||||
# - make npm-init
|
||||
# - ./check-simplewebrtc-bundle.sh
|
||||
# - name: check-vuejs-builds
|
||||
# image: nextcloudci/node:node-7
|
||||
# commands:
|
||||
|
|
|
|||
14
Makefile
14
Makefile
|
|
@ -15,7 +15,7 @@ all: dev-setup build-js-production
|
|||
|
||||
dev-setup: clean-dev npm-init
|
||||
|
||||
dependabot: dev-setup npm-update build-js-production bundle-simplewebrtc
|
||||
dependabot: dev-setup npm-update build-js-production
|
||||
|
||||
release: appstore create-tag
|
||||
|
||||
|
|
@ -47,15 +47,6 @@ clean:
|
|||
clean-dev: clean
|
||||
rm -rf node_modules
|
||||
|
||||
bundle-simplewebrtc:
|
||||
# webrtc-adapter uses JavaScript features not supported by browserify,
|
||||
# so the sources need to be transformed using babel to a compatible
|
||||
# version of JavaScript.
|
||||
# Its main module does no longer provide "module.exports", which is
|
||||
# expected by the code using it, so it needs to be added back with a
|
||||
# plugin.
|
||||
npx browserify --standalone SimpleWebRTC --transform [ babelify --global --presets [ @babel/env ] --plugins [ add-module-exports ] ] js/simplewebrtc/simplewebrtc.js > js/simplewebrtc/bundled.js
|
||||
|
||||
create-tag:
|
||||
git tag -a v$(version) -m "Tagging the $(version) release."
|
||||
git push origin v$(version)
|
||||
|
|
@ -78,9 +69,6 @@ appstore:
|
|||
--exclude=.jscsrc \
|
||||
--exclude=.jshintignore \
|
||||
--exclude=js/**.js.map \
|
||||
--include=js/simplewebrtc/bundled.js \
|
||||
--exclude=js/simplewebrtc/*.js \
|
||||
--exclude=js/tests \
|
||||
--exclude=l10n/no-php \
|
||||
--exclude=.l10nignore \
|
||||
--exclude=Makefile \
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Rebuild the bundled SimpleWebRTC
|
||||
make bundle-simplewebrtc
|
||||
|
||||
git status
|
||||
|
||||
bash -c "[[ ! \"`git status --porcelain js/simplewebrtc/bundled.js`\" ]] || ( echo 'Uncommitted changes in bundled SimpleWebRTC' && exit 1 )"
|
||||
Loading…
Add table
Reference in a new issue