Make build.bat work regardless of your current directory, so you can invoke it from...
authorNeil Mitchell <ndmitchell@gmail.com>
Sun, 10 Jan 2016 22:31:38 +0000 (22:31 +0000)
committerNeil Mitchell <ndmitchell@gmail.com>
Sun, 10 Jan 2016 22:31:38 +0000 (22:31 +0000)
build.bat

index 41b7877..0cf778a 100644 (file)
--- a/build.bat
+++ b/build.bat
@@ -1,3 +1,4 @@
+@cd %~dp0\r
 @mkdir .shake 2> nul\r
 \r
 @set ghcArgs=--make            ^\r