hakyll/src/Hakyll
Collin J. Doering da7ae99b12 Fix unixFilter on Windows
On windows, the 'unixFilter' function used window's 'createProcess'
function to create the external process that will filter some String
input. The problem with this is that it is unable to execute batch
stubs (eg. anything created using 'gem install ...') even if its in
$PATH. Anyways a solution to this issue is to execute the batch file
explicitly using 'cmd /c batchfile' but there is no rational way to know
where said batchfile is on the system. My solution is to detect windows
using the System.Info module and then instead of using 'proc' to create
the function, use 'shell' instead which will be able to execute
everything 'proc' can + batch files.

Inspired by: http://www.blaenkdenum.com/posts/the-switch-to-hakyll/#scss

Signed-off-by: Collin J. Doering <rekahsoft@gmail.com>
2014-03-23 17:30:29 -04:00
..
Core Fix unixFilter on Windows 2014-03-23 17:30:29 -04:00
Preview finish incomplete comment 2013-05-22 17:28:32 -07:00
Web Don't cache pandocCompilerWithTransform, refactor 2014-01-28 11:04:28 +01:00
Check.hs hakyll check: return exit code of 0 on success 2014-02-11 11:07:43 +01:00
Commands.hs Use OS threads for watch on Windows 2014-03-04 21:22:35 +02:00
Init.hs Account for absolute paths in shouldIgnoreFile 2013-04-03 12:02:06 +02:00
Main.hs add preview port Configuration field 2013-08-29 22:43:57 -07:00