From: Carl Worth Date: Wed, 27 May 2020 04:05:03 +0000 (-0700) Subject: Makefile: Don't remove write permission from .js build artifacts X-Git-Url: https://git.cworth.org/git?p=lmno.games;a=commitdiff_plain;h=673e4f0696496aa8bd6267d06f9f372da735bc70 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. --- 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