.bat file tidy up plus shake-0.16 compatibility (#392)
authorNeil Mitchell <ndmitchell@gmail.com>
Thu, 17 Aug 2017 23:07:13 +0000 (00:07 +0100)
committerAndrey Mokhov <andrey.mokhov@gmail.com>
Thu, 17 Aug 2017 23:07:13 +0000 (00:07 +0100)
commitdf4848c98c729212840b7de291dcad15fe679451
treee2a649d8d4f00cadc658e7779154724843de7f53
parent67ae38d6586cf7f528b7b088a97421f76e029e0e
.bat file tidy up plus shake-0.16 compatibility (#392)

* Switch from @ to @echo off in the batch files

* Make sure the .bat files do setlocal - ensures if it fails you don't keep the directory change

* Give RuleResult instances to all the oracles, as required by the forthcoming shake-0.16
build.bat
build.stack.bat
src/Hadrian/Oracles/ArgsHash.hs
src/Hadrian/Oracles/DirectoryContents.hs
src/Hadrian/Oracles/FileCache.hs
src/Hadrian/Oracles/KeyValue.hs
src/Hadrian/Oracles/Path.hs
src/Hadrian/Utilities.hs
src/Oracles/ModuleFiles.hs