Skip to content

Commit

Permalink
fix node_modules permissions before git clean
Browse files Browse the repository at this point in the history
this is due to copying node_modules from nix store which is read-only

Signed-off-by: Jakub Sokołowski <jakub@status.im>
  • Loading branch information
jakubgs committed Jun 13, 2019
1 parent 79db8e5 commit 1a4763c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1a4763c

Please sign in to comment.