Compress CSS
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
This is the source code of my personal blog. It is a static
|
||||
site generated by Hakyll.
|
||||
site generated by Hakyll. The actual content is written in
|
||||
LaTeX.
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -4,7 +4,7 @@
|
||||
module Main where
|
||||
|
||||
import Control.Monad (forM)
|
||||
import Data.List (isSuffixOf)
|
||||
import Data.List (isPrefixOf, isSuffixOf)
|
||||
import Data.Time.Format (formatTime, FormatTime)
|
||||
import Data.Time.Locale.Compat (defaultTimeLocale)
|
||||
import Hakyll.Core.Compiler
|
||||
@@ -79,8 +79,8 @@ configuration = Configuration
|
||||
, storeDirectory = "./var/cache"
|
||||
, tmpDirectory = "./var/cache/tmp"
|
||||
, providerDirectory = "."
|
||||
, ignoreFile = ignoreFile'
|
||||
, watchIgnore = const False
|
||||
, ignoreFile = const False
|
||||
, deployCommand = "rsync"
|
||||
, deploySite = deploySite'
|
||||
, inMemoryCache = True
|
||||
@@ -90,6 +90,7 @@ configuration = Configuration
|
||||
, previewSettings = Static.defaultFileServerSettings
|
||||
}
|
||||
where
|
||||
ignoreFile' path = isPrefixOf "." path || path == "var"
|
||||
deploySite' deploymentConfiguration
|
||||
= readFile "deployment.txt"
|
||||
>>= executeDeployment deploymentConfiguration
|
||||
|
||||
Reference in New Issue
Block a user