Browse Source

Fix jsdocs build on server repo

Signed-off-by: Julius Härtl <jus@bitgrid.net>
tags/v15.0.0beta1
Julius Härtl 5 years ago
parent
commit
5d888984a0
No account linked to committer's email address

+ 2
- 2
apps/files/js/favoritesplugin.js View File



(function(OCA) { (function(OCA) {
/** /**
* @namespace OCA.Files.FavoritesPlugin
*
* Registers the favorites file list from the files app sidebar. * Registers the favorites file list from the files app sidebar.
*
* @namespace OCA.Files.FavoritesPlugin
*/ */
OCA.Files.FavoritesPlugin = { OCA.Files.FavoritesPlugin = {
name: 'Favorites', name: 'Favorites',

+ 2
- 2
apps/files/js/recentplugin.js View File



(function (OCA) { (function (OCA) {
/** /**
* @namespace OCA.Files.RecentPlugin
*
* Registers the recent file list from the files app sidebar. * Registers the recent file list from the files app sidebar.
*
* @namespace OCA.Files.RecentPlugin
*/ */
OCA.Files.RecentPlugin = { OCA.Files.RecentPlugin = {
name: 'Recent', name: 'Recent',

+ 2
- 2
apps/files/js/tagsplugin.js View File

OCA.Files = OCA.Files || {}; OCA.Files = OCA.Files || {};


/** /**
* @namespace OCA.Files.TagsPlugin
*
* Extends the file actions and file list to include a favorite mark icon * Extends the file actions and file list to include a favorite mark icon
* and a favorite action in the file actions menu; it also adds "data-tags" * and a favorite action in the file actions menu; it also adds "data-tags"
* and "data-favorite" attributes to file elements. * and "data-favorite" attributes to file elements.
*
* @namespace OCA.Files.TagsPlugin
*/ */
OCA.Files.TagsPlugin = { OCA.Files.TagsPlugin = {
name: 'Tags', name: 'Tags',

buildjsdocs.sh → build/buildjsdocs.sh View File

# @copyright 2014 Vincent Petry <pvince81@owncloud.com> # @copyright 2014 Vincent Petry <pvince81@owncloud.com>
# #
NPM="$(which npm 2>/dev/null)" NPM="$(which npm 2>/dev/null)"
PREFIX="build"
OUTPUT_DIR="build/jsdocs"
OUTPUT_DIR="jsdocs"


JS_FILES="core/js/*.js core/js/**/*.js apps/*/js/*.js"
JS_FILES="../core/js/*.js ../core/js/**/*.js ../apps/*/js/*.js"


if test -z "$NPM" if test -z "$NPM"
then then
fi fi


# update/install test packages # update/install test packages
mkdir -p "$PREFIX" && $NPM install --link --prefix "$PREFIX" jsdoc || exit 3
$NPM install --prefix . --link jsdoc || exit 3


JSDOC_BIN="$(which jsdoc 2>/dev/null)" JSDOC_BIN="$(which jsdoc 2>/dev/null)"


# If not installed globally, try local version # If not installed globally, try local version
if test -z "$JSDOC_BIN" if test -z "$JSDOC_BIN"
then then
JSDOC_BIN="$PREFIX/node_modules/jsdoc/jsdoc.js"
JSDOC_BIN="./node_modules/jsdoc/jsdoc.js"
fi fi


if test -z "$JSDOC_BIN" if test -z "$JSDOC_BIN"


mkdir -p "$OUTPUT_DIR" mkdir -p "$OUTPUT_DIR"


NODE_PATH="$PREFIX/node_modules" $JSDOC_BIN -d "$OUTPUT_DIR" $JS_FILES
NODE_PATH="./node_modules" $JSDOC_BIN -d "$OUTPUT_DIR" $JS_FILES



+ 4149
- 5694
build/package-lock.json
File diff suppressed because it is too large
View File


+ 1
- 1
build/package.json View File

"handlebars": "^4.0.5", "handlebars": "^4.0.5",
"jasmine-core": "~2.5.2", "jasmine-core": "~2.5.2",
"jasmine-sinon": "^0.4.0", "jasmine-sinon": "^0.4.0",
"jsdoc": "~3.5.5",
"jsdoc": "^3.5.5",
"karma": "^2.0.2", "karma": "^2.0.2",
"karma-coverage": "*", "karma-coverage": "*",
"karma-jasmine": "^1.1.2", "karma-jasmine": "^1.1.2",

Loading…
Cancel
Save