Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.drone.yml5
-rw-r--r--Makefile8
-rwxr-xr-xcheck-handlebars-templates.sh9
-rwxr-xr-xcompile-handlebars-templates.sh8
4 files changed, 1 insertions, 29 deletions
diff --git a/.drone.yml b/.drone.yml
index 04c70e689..6fc1aad68 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -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:
diff --git a/Makefile b/Makefile
index f6577547e..295633cee 100644
--- a/Makefile
+++ b/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 \
diff --git a/check-handlebars-templates.sh b/check-handlebars-templates.sh
deleted file mode 100755
index 72fde4de4..000000000
--- a/check-handlebars-templates.sh
+++ /dev/null
@@ -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 )"
diff --git a/compile-handlebars-templates.sh b/compile-handlebars-templates.sh
deleted file mode 100755
index 951cf8ed8..000000000
--- a/compile-handlebars-templates.sh
+++ /dev/null
@@ -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"