Commit 0f46b41f authored by Philipp Gröbelbauer's avatar Philipp Gröbelbauer
Browse files

makefile adjusted for multiple users

parent 12940c23
Pipeline #6460 passed with stages
in 4 minutes and 35 seconds
......@@ -8,6 +8,8 @@ RELEASE_DATE = $(shell date '+%Y%m%d%H%M')
GIT_REVISION_SHORT = $(shell git rev-parse --short HEAD || true)
GIT_REVISION_LONG = $(shell git rev-parse HEAD || true)
VAR_TMP=/var/tmp/qfq_$(USER)
EXTENSION_CONTENT = Classes Configuration Resources ext_emconf.php ext_localconf.php ext_tables.php ext_icon.png ext_conf_template.txt config-example.qfq.php RELEASE.txt vendor
DISTDIR=dist
......@@ -83,10 +85,10 @@ basic: .npmpackages .virtual_env
npm ls -g grunt-cli 2>/dev/null || { echo "Please install grunt-cli npm package using 'npm install -g grunt-cli'" 1>&2 ; exit 1; }
# update npm at persistent location and copy node_modules (to speed up process)
mkdir -p /var/tmp/qfq/npm
/bin/cp package.json /var/tmp/qfq/npm/
cd /var/tmp/qfq/npm; npm update
/bin/cp -r /var/tmp/qfq/npm/node_modules ./
mkdir -p $(VAR_TMP)/npm
/bin/cp package.json $(VAR_TMP)/npm/
cd $(VAR_TMP)/npm; npm update
/bin/cp -r $(VAR_TMP)/npm/node_modules ./
touch $@
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment