Skip to content

Instantly share code, notes, and snippets.

@yogsototh
Created March 5, 2013 11:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yogsototh/5089746 to your computer and use it in GitHub Desktop.
Save yogsototh/5089746 to your computer and use it in GitHub Desktop.
Dependency problem
main = hakyll $ do
rulesExtraDependencies [IdentifierDependency "Scratch/css/include/modern.sass"] $ do
match "Scratch/css/*" $ do
route $ setExtension "css"
compile $ getResourceString >>=
withItemBody (unixFilter "sass" ["--trace"]) >>=
return ∘ fmap compressCss
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment