summaryrefslogtreecommitdiff
path: root/src/Hakyll/Core/UnixFilter.hs
AgeCommit message (Collapse)AuthorFilesLines
2016-04-06Clean warningsJasper Van der Jeugt1-1/+0
2016-03-14Fixes #408: Documentation for "unixFilter" now compilesRichard Cook1-1/+1
2014-04-27Minor refactor of PR #233Jorge Israel Peña1-8/+11
OS won't change mid-execution, so lets avoid the unnecessary check each time `unixFilter` is run.
2014-03-26Micro cleanup of pull request #233Jasper Van der Jeugt1-4/+12
2014-03-23Fix unixFilter on WindowsCollin J. Doering1-2/+6
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>
2013-06-14Set handle encoding as per localeuu11011-0/+1
2013-06-14Deepseq stderr before closing the handleuu11011-0/+1
Otherwise laziness allows for the handle to be closed withouth receiving the input. This caused that no error messages were printed when `unixFilter`s failed.
2013-04-04Debug info for Alternative instancesJasper Van der Jeugt1-14/+12
See #126
2013-03-30We'll do it ourselvesJasper Van der Jeugt1-7/+10
2013-03-30UnixFilter improvementsJasper Van der Jeugt1-20/+57
Closes #128
2013-02-02Fix unixFilterLBS example to use unixFilterLBSMiikka Koskinen1-1/+1
2013-01-13a unixFilter for non Posix (well windows)Robin Windels1-23/+8
Conflicts: src/Hakyll/Core/UnixFilter.hs
2013-01-12Fix example in unixFilter docsJasper Van der Jeugt1-1/+1
See #95
2012-12-26Foldable/Traversable instance for ItemJasper Van der Jeugt1-3/+3
2012-11-20Update more testsJasper Van der Jeugt1-2/+2
2012-11-14Refactor logger a bitJasper Van der Jeugt1-3/+3
2012-11-13WIPJasper Van der Jeugt1-30/+39
2011-05-06Fix encoding errors with unixFilterJasper Van der Jeugt1-13/+48
2011-02-21Add logger to Compiler monadJasper Van der Jeugt1-1/+11
2011-02-21Add Unix filters as compilersJasper Van der Jeugt1-0/+66