зеркало из https://github.com/nextcloud/spreed.git
Remove handlebar code
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Родитель
b559bcc479
Коммит
b4e237d157
|
@ -12,11 +12,6 @@
|
|||
# commands:
|
||||
# - make npm-init
|
||||
# - ./check-vuejs-builds.sh
|
||||
# - name: check-handlebars-templates
|
||||
# image: node:lts
|
||||
# commands:
|
||||
# - make npm-init
|
||||
# - ./check-handlebars-templates.sh
|
||||
#
|
||||
#trigger:
|
||||
# branch:
|
||||
|
|
8
Makefile
8
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 compile-handlebars-templates bundle-simplewebrtc
|
||||
dependabot: dev-setup npm-update build-js-production bundle-simplewebrtc
|
||||
|
||||
release: appstore create-tag
|
||||
|
||||
|
@ -47,9 +47,6 @@ clean:
|
|||
clean-dev: clean
|
||||
rm -rf node_modules
|
||||
|
||||
compile-handlebars-templates:
|
||||
bash compile-handlebars-templates.sh
|
||||
|
||||
bundle-simplewebrtc:
|
||||
# webrtc-adapter uses JavaScript features not supported by browserify,
|
||||
# so the sources need to be transformed using babel to a compatible
|
||||
|
@ -70,8 +67,6 @@ appstore:
|
|||
--exclude=bower.json \
|
||||
--exclude=.bowerrc \
|
||||
--exclude=/build \
|
||||
--exclude=check-handlebars-templates.sh \
|
||||
--exclude=compile-handlebars-templates.sh \
|
||||
--exclude=docs \
|
||||
--exclude=.drone.yml \
|
||||
--exclude=.eslintignore \
|
||||
|
@ -82,7 +77,6 @@ appstore:
|
|||
--exclude=.gitignore \
|
||||
--exclude=.jscsrc \
|
||||
--exclude=.jshintignore \
|
||||
--exclude=js/views/templates \
|
||||
--exclude=js/**.js.map \
|
||||
--include=js/simplewebrtc/bundled.js \
|
||||
--exclude=js/simplewebrtc/*.js \
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
# Compile Handlebars templates
|
||||
make compile-handlebars-templates
|
||||
|
||||
git status
|
||||
|
||||
bash -c "[[ ! \"`git status --porcelain js/views/templates.js`\" ]] || ( echo 'Uncommitted changes in compiled Handlebar templates' && exit 1 )"
|
|
@ -1,8 +0,0 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Prefer the local handlebars script, and fall back to the global one.
|
||||
export PATH=./node_modules/.bin/:$PATH
|
||||
|
||||
node node_modules/handlebars/bin/handlebars -n OCA.Talk.Views.Templates js/views/templates/ -f js/views/templates.js
|
||||
|
||||
echo "OK"
|
Загрузка…
Ссылка в новой задаче