summaryrefslogtreecommitdiffstats
path: root/webapp
diff options
context:
space:
mode:
authorGeorge Goldberg <george@gberg.me>2017-07-20 19:34:33 +0100
committerChristopher Speller <crspeller@gmail.com>2017-07-20 11:34:33 -0700
commite2f4492eadb5d3c58606b1fdd5774b63a07c236a (patch)
treee56dbd46e0b1bb14b8b44dcba2d6a94585088c2f /webapp
parent6c6f2a1138447777bbf46cc2c40e1b3c47204466 (diff)
downloadchat-e2f4492eadb5d3c58606b1fdd5774b63a07c236a.tar.gz
chat-e2f4492eadb5d3c58606b1fdd5774b63a07c236a.tar.bz2
chat-e2f4492eadb5d3c58606b1fdd5774b63a07c236a.zip
Remove systemwide mutex from Yarn commands. (#6983)
Diffstat (limited to 'webapp')
-rw-r--r--webapp/Makefile9
1 files changed, 4 insertions, 5 deletions
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