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

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-10-15 15:29:52 +0300
committerJulius Härtl <jus@bitgrid.net>2018-10-24 16:41:08 +0300
commit5d888984a0db8dfc04be8b398e75f04f6894fa32 (patch)
treedc6cee2c1da08be68015717ea4eff03916134be6 /buildjsdocs.sh
parent37782b1084275d54474700e4ae7863b18e23dc04 (diff)
Fix jsdocs build on server repo
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'buildjsdocs.sh')
-rwxr-xr-xbuildjsdocs.sh42
1 files changed, 0 insertions, 42 deletions
diff --git a/buildjsdocs.sh b/buildjsdocs.sh
deleted file mode 100755
index 57eefb29fd0..00000000000
--- a/buildjsdocs.sh
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/usr/bin/env bash
-#
-# ownCloud
-#
-# Run JS tests
-#
-# @author Vincent Petry
-# @copyright 2014 Vincent Petry <pvince81@owncloud.com>
-#
-NPM="$(which npm 2>/dev/null)"
-PREFIX="build"
-OUTPUT_DIR="build/jsdocs"
-
-JS_FILES="core/js/*.js core/js/**/*.js apps/*/js/*.js"
-
-if test -z "$NPM"
-then
- echo 'Node JS >= 0.8 is required to build the documentation' >&2
- exit 1
-fi
-
-# update/install test packages
-mkdir -p "$PREFIX" && $NPM install --link --prefix "$PREFIX" jsdoc || exit 3
-
-JSDOC_BIN="$(which jsdoc 2>/dev/null)"
-
-# If not installed globally, try local version
-if test -z "$JSDOC_BIN"
-then
- JSDOC_BIN="$PREFIX/node_modules/jsdoc/jsdoc.js"
-fi
-
-if test -z "$JSDOC_BIN"
-then
- echo 'jsdoc executable not found' >&2
- exit 2
-fi
-
-mkdir -p "$OUTPUT_DIR"
-
-NODE_PATH="$PREFIX/node_modules" $JSDOC_BIN -d "$OUTPUT_DIR" $JS_FILES
-