Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2019-10-18 13:04:45 +02:00
Родитель b559bcc479
Коммит b4e237d157
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 7076EA9751AACDDA
4 изменённых файлов: 1 добавлений и 29 удалений

Просмотреть файл

@ -12,11 +12,6 @@
# commands: # commands:
# - make npm-init # - make npm-init
# - ./check-vuejs-builds.sh # - ./check-vuejs-builds.sh
# - name: check-handlebars-templates
# image: node:lts
# commands:
# - make npm-init
# - ./check-handlebars-templates.sh
# #
#trigger: #trigger:
# branch: # branch:

Просмотреть файл

@ -15,7 +15,7 @@ all: dev-setup build-js-production
dev-setup: clean-dev npm-init 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 release: appstore create-tag
@ -47,9 +47,6 @@ clean:
clean-dev: clean clean-dev: clean
rm -rf node_modules rm -rf node_modules
compile-handlebars-templates:
bash compile-handlebars-templates.sh
bundle-simplewebrtc: bundle-simplewebrtc:
# webrtc-adapter uses JavaScript features not supported by browserify, # webrtc-adapter uses JavaScript features not supported by browserify,
# so the sources need to be transformed using babel to a compatible # so the sources need to be transformed using babel to a compatible
@ -70,8 +67,6 @@ appstore:
--exclude=bower.json \ --exclude=bower.json \
--exclude=.bowerrc \ --exclude=.bowerrc \
--exclude=/build \ --exclude=/build \
--exclude=check-handlebars-templates.sh \
--exclude=compile-handlebars-templates.sh \
--exclude=docs \ --exclude=docs \
--exclude=.drone.yml \ --exclude=.drone.yml \
--exclude=.eslintignore \ --exclude=.eslintignore \
@ -82,7 +77,6 @@ appstore:
--exclude=.gitignore \ --exclude=.gitignore \
--exclude=.jscsrc \ --exclude=.jscsrc \
--exclude=.jshintignore \ --exclude=.jshintignore \
--exclude=js/views/templates \
--exclude=js/**.js.map \ --exclude=js/**.js.map \
--include=js/simplewebrtc/bundled.js \ --include=js/simplewebrtc/bundled.js \
--exclude=js/simplewebrtc/*.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"