From 673e4f0696496aa8bd6267d06f9f372da735bc70 Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Tue, 26 May 2020 21:05:03 -0700 Subject: [PATCH] Makefile: Don't remove write permission from .js build artifacts The intent behind this was to act as a clue to the developer that they shouldn't edit the .js file, but it caused a problem that subsequent build would fail because the output files were read-only. So we give up on this idea. --- Makefile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Makefile b/Makefile index 2652973..cf1e1d7 100644 --- a/Makefile +++ b/Makefile @@ -41,7 +41,6 @@ react-dom.js: deps/react-dom.production.min.js export BABEL_ENV=production %.js: %.jsx $(call quiet,BABEL) $^ --out-file $@ - @chmod a-w $@ else react.js: deps/react.development.js $(call quiet,CP) $^ $@ @@ -52,7 +51,6 @@ react-dom.js: deps/react-dom.development.js export BABEL_ENV=development %.js: %.jsx $(call quiet,BABEL) $^ --out-file $@ - @chmod a-w $@ endif # The user has not set any verbosity, default to quiet mode and inform the -- 2.43.0