From e2f4492eadb5d3c58606b1fdd5774b63a07c236a Mon Sep 17 00:00:00 2001 From: George Goldberg Date: Thu, 20 Jul 2017 19:34:33 +0100 Subject: Remove systemwide mutex from Yarn commands. (#6983) --- webapp/Makefile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'webapp') diff --git a/webapp/Makefile b/webapp/Makefile index 983d078e9..3786f9bee 100644 --- a/webapp/Makefile +++ b/webapp/Makefile @@ -5,7 +5,7 @@ BUILD_SERVER_DIR = .. check-style: .yarninstall @echo Checking for style guide compliance - yarn run check --mutex file:/tmp/.yarn-mutex + yarn run check test: .yarninstall cd $(BUILD_SERVER_DIR) && $(MAKE) internal-test-web-client @@ -13,7 +13,7 @@ test: .yarninstall .yarninstall: package.json @echo Getting dependencies using yarn - yarn install --pure-lockfile --mutex file:/tmp/.yarn-mutex + yarn install touch $@ @@ -22,7 +22,7 @@ build: .yarninstall rm -rf dist - yarn run build --mutex file:/tmp/.yarn-mutex + yarn run build run: .yarninstall @echo Running mattermost Webapp for development @@ -49,9 +49,8 @@ endif clean: @echo Cleaning Webapp - yarn cache clean --mutex file:/tmp/.yarn-mutex + yarn cache clean rm -rf dist rm -rf node_modules rm -f .yarninstall - rm -f /tmp/.yarn-mutex -- cgit v1.2.3-1-g7c22