fix node_modules permissions before git clean

this is due to copying node_modules from nix store which is read-only

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-06-13 09:40:17 -04:00
parent 79db8e5107
commit 1a4763c48d
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,8 @@ endif
clean: SHELL := /bin/sh
clean: ##@prepare Remove all output folders
@test -d node_modules && chmod -R 744 node_modules; \
test -d node_modules.tmp && chmod -R 744 node_modules.tmp; \
git clean -dxf -f
clean-nix: SHELL := /bin/sh