summaryrefslogtreecommitdiff
path: root/src/Hakyll/Commands.hs
AgeCommit message (Collapse)AuthorFilesLines
2017-06-19Move src/ to lib/, put Init.hs in src/Jasper Van der Jeugt1-160/+0
2016-12-22Fix the exit code behaviour of checkJasper Van der Jeugt1-2/+2
Fixes #496
2016-07-22Switch preview server from Snap to WarpArguggi1-3/+1
2016-04-27Import catchIOError from System.IO.ErrorJasper Van der Jeugt1-1/+1
2016-04-26Fix import errors on windowsJasper Van der Jeugt1-0/+5
2016-04-06Clean warningsJasper Van der Jeugt1-3/+0
2015-02-22Fix a typo in disabled preview server function.Magnus Therning1-1/+1
Signed-off-by: Magnus Therning <magnus@therning.org>
2015-01-10Ensure "Listening on 0.0.0.0:8000" message is not garbledJasper Van der Jeugt1-26/+27
2014-04-07Fix compilation when disabling preview serverJasper Van der Jeugt1-1/+1
2014-03-31Added imports that are missing when compiling under Windows.Dacto1-0/+2
2014-03-24Add flag to bind on selected host.chrisdotcode1-11/+9
2014-03-04Use OS threads for watch on WindowsSimonas Kazlauskas1-7/+14
2013-08-28* Preview now shows the deprecation message and calls watch.Eric Stolten1-8/+9
* Details on how to disable the server in the command description.
2013-08-251. Added the WATCH_SERVER flag that is enabled by defaultEric Stolten1-18/+21
1. Added an argument to watch, --no-server which will disable the embedded server. 1. Added a deprecation message to the preview mode
2013-08-20Added a watch command that will continually poll for changes and rebuild them.Eric Stolten1-4/+39
2013-05-22Deploy should propagate error codeSimonas Kazlauskas1-1/+1
And return 1 if neither deployCommand and deploySite is set.
2013-05-21Clean up type declarations, use fst and <$>.Evan Cofsky1-6/+4
2013-05-20Have Build and Rebuild exit with a status to the shell.Evan Cofsky1-11/+7
2013-04-04Add event filtering based on patternJasper Van der Jeugt1-2/+3
2013-03-31Refine codeSimonas Kazlauskas1-10/+4
This patch includes several smaller changes, namely: 1. We don't use result of `update` function and likely never will, so don't bother generating it. 2. Rename watch function to better reflect what it does. 3. Never exit preview server in case of failed update.
2013-03-30Run server in main threadSimonas Kazlauskas1-3/+1
2013-03-24Allow overriding the `deploy` command with Haskell codeSamuel Tardieu1-4/+1
By overriding `deploySite` with a `Configuration -> IO ()` code, the user can execute Haskell code to deploy the site rather than shell code. The default behaviour honors the `deployCommand` configuration field and is backward compatible.
2013-01-15Make run return ExitCodeJasper Van der Jeugt1-8/+9
2013-01-06Add TmpFile utilitiesJasper Van der Jeugt1-5/+3
2012-12-31Allow checking internal links onlyJasper Van der Jeugt1-2/+2
2012-12-31Remove verbosity from configurationJasper Van der Jeugt1-13/+15
2012-12-31cmdargs isn't pretty but it's the best we have...Jasper Van der Jeugt1-0/+128