updated the cabal, might be portable?

clean
parent f03146802a
commit f3295fb015

@ -0,0 +1,3 @@
# Public Domain
DO THE FUCK YOU WANT WITH IT!

@ -2,7 +2,7 @@
compileAndPreview(){
print -- "Compiling and building"
ghc -O2 -Wall -odir _comp -hidir _comp site.hs && \
cabal-dev install && \
./site clean && \
while true; do ./site preview; done
}

@ -1,6 +1,6 @@
#!/usr/bin/env zsh
print -- "Compiling and building"
ghc -O2 -Wall -odir _comp -hidir _comp site.hs && \
cabal-dev install && \
./site clean && \
./site build

@ -2,7 +2,7 @@
-- see http://haskell.org/cabal/users-guide/
name: yblog
version: 1.0.0.0
version: 1.0
synopsis: Personal Blog
-- description:
homepage: http://yannesposito.com
@ -17,8 +17,10 @@ cabal-version: >=1.8
executable yblog
main-is: site.hs
ghc-options: -O2 -Wall
-- other-modules:
build-depends: base >= 4.5
, containers >= 0.4
, hakyll >= 4.2 && < 5
, filepath >= 1.3
, old-locale >= 1.0 && < 2

Loading…
Cancel
Save