Remove systemwide mutex from Yarn commands. (#6983)
Этот коммит содержится в:
коммит произвёл
Christopher Speller
родитель
6c6f2a1138
Коммит
e2f4492ead
@@ -5,7 +5,7 @@ BUILD_SERVER_DIR = ..
|
|||||||
check-style: .yarninstall
|
check-style: .yarninstall
|
||||||
@echo Checking for style guide compliance
|
@echo Checking for style guide compliance
|
||||||
|
|
||||||
yarn run check --mutex file:/tmp/.yarn-mutex
|
yarn run check
|
||||||
|
|
||||||
test: .yarninstall
|
test: .yarninstall
|
||||||
cd $(BUILD_SERVER_DIR) && $(MAKE) internal-test-web-client
|
cd $(BUILD_SERVER_DIR) && $(MAKE) internal-test-web-client
|
||||||
@@ -13,7 +13,7 @@ test: .yarninstall
|
|||||||
.yarninstall: package.json
|
.yarninstall: package.json
|
||||||
@echo Getting dependencies using yarn
|
@echo Getting dependencies using yarn
|
||||||
|
|
||||||
yarn install --pure-lockfile --mutex file:/tmp/.yarn-mutex
|
yarn install
|
||||||
|
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
@@ -22,7 +22,7 @@ build: .yarninstall
|
|||||||
|
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
|
|
||||||
yarn run build --mutex file:/tmp/.yarn-mutex
|
yarn run build
|
||||||
|
|
||||||
run: .yarninstall
|
run: .yarninstall
|
||||||
@echo Running mattermost Webapp for development
|
@echo Running mattermost Webapp for development
|
||||||
@@ -49,9 +49,8 @@ endif
|
|||||||
clean:
|
clean:
|
||||||
@echo Cleaning Webapp
|
@echo Cleaning Webapp
|
||||||
|
|
||||||
yarn cache clean --mutex file:/tmp/.yarn-mutex
|
yarn cache clean
|
||||||
|
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
rm -rf node_modules
|
rm -rf node_modules
|
||||||
rm -f .yarninstall
|
rm -f .yarninstall
|
||||||
rm -f /tmp/.yarn-mutex
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user