Skip to content

Commit

Permalink
Touch npm binaries after installation (pyodide#1140)
Browse files Browse the repository at this point in the history
`npm i` does not update timestamps if it ends up not installing or updating the packages. Before this commit, if emsdk is recompiled after installing these packages, then `npm i` will be triggered every build, because lessc and uglifyjs are older than emsdk.
  • Loading branch information
dalcde authored Jan 16, 2021
1 parent 5f3528f commit 4c5c307
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ build/test.data: $(CPYTHONLIB)

$(UGLIFYJS) $(LESSC): emsdk/emsdk/.complete
npm i --no-save uglify-js lessc
touch -h $(LESSC) $(UGLIFYJS)


$(PYODIDE_EMCC):
Expand Down

0 comments on commit 4c5c307

Please sign in to comment.