fix(build): don't allow touch to create files

This commit is contained in:
Łukasz Mierzwa
2020-08-28 08:58:15 +01:00
committed by Łukasz Mierzwa
parent 3a656cc71d
commit 264f8907eb

View File

@@ -5,7 +5,7 @@ rwildcard = $(foreach d, $(wildcard $1*), $(call rwildcard,$d/,$2) $(filter $(su
node_modules/%: package.json package-lock.json
npm install
touch $@
touch -c $@
build/index.html: node_modules/react-scripts/bin/react-scripts.js $(call rwildcard, public src, *)
npm run build