write npm output as a receipt

This commit is contained in:
Brian Hicks 2020-10-28 05:57:05 -05:00
parent fedd932cb0
commit aa8d790123

View File

@ -52,8 +52,8 @@ main =
"log/node_modules.txt" %> \out -> do
need ["package.json", "package-lock.json"]
cmd_ "npm" "install"
writeFileChanged out "1"
Stdout report <- cmd "npm" "install"
writeFileChanged out report
phony "clean" $ do
removeFilesAfter "elm-stuff" ["//*"]