Merge pull request #1648 from sharelatex/ho-simple-client-build

Simple client build

GitOrigin-RevId: d7107104960c97bad7ec1316b5e6720a6c1017b6
This commit is contained in:
Timothée Alby 2019-03-20 11:51:30 -05:00 committed by sharelatex
parent 27251bc1ac
commit 983b1a0f57
2 changed files with 6 additions and 7 deletions

View file

@ -1,10 +1,9 @@
#!/bin/bash
WEBPACK_ENV=production make minify &
make --no-print-directory format &
make --no-print-directory lint &
npm install git+https://github.com/sharelatex/translations-sharelatex.git#master &
wait -n && wait -n && wait -n && wait -n
WEBPACK_ENV=production make minify
make --no-print-directory format
make --no-print-directory lint
npm install git+https://github.com/sharelatex/translations-sharelatex.git#master
chmod -R 0755 /app/public
chown -R node:node /app/public

View file

@ -173,7 +173,7 @@ define([
const entities = this.getMultiSelectedEntities()
const paths = {}
for (var entity of Array.from(entities)) {
paths["/" + this.getEntityPath(entity)] = entity
paths['/' + this.getEntityPath(entity)] = entity
}
const prefixes = {}
for (var path in paths) {
@ -188,7 +188,7 @@ define([
asc ? i <= end : i >= end;
asc ? i++ : i--
) {
prefixes["/" + parts.slice(0, i).join('/')] = true
prefixes['/' + parts.slice(0, i).join('/')] = true
}
}
}