elm/compiler
ngunn 14e32add30 Fix cabal install missing docs.json
See: https://github.com/evancz/Elm/issues/120

Add build-hook to Setup.hs so that elm-doc gets build and executed before library or elm exec gets built.
Add preprocessor to Elm.cabal so LoadLibraries.hs can load docs.json from the build folder instead of installed folder
Add touch to Setup.hs otherwise LoadLibraries.hs doesn't get recompiled.  This is non-portable, but I can't find a portable way (see Setup.hs for details)

cabal clean && cabal install now works
(tested on ghc 7.4.1)
2013-03-21 13:31:55 +00:00
..
Gen Get sprites working in collage. temporary fix for docs.json issue. Looks like git thinks we're in the past, so a bunch of changes that have already happened as well. 2013-03-21 02:29:23 -07:00
Language Get sprites working in collage. temporary fix for docs.json issue. Looks like git thinks we're in the past, so a bunch of changes that have already happened as well. 2013-03-21 02:29:23 -07:00
Model Fix cabal install missing docs.json 2013-03-21 13:31:55 +00:00
Parse Change such that import imports all by default. Too annoying the other way. Write a linter for that. 2013-03-16 13:02:01 -07:00
Transform Finish moving the compiler down a directory. 2013-03-16 12:07:32 -07:00
Types Load json representation of types with Template Haskell, so library files are the base truth of type information. 2013-03-16 22:24:18 -07:00
Compiler.hs Move the compiler down a directory, mostly. 2013-03-16 12:04:05 -07:00
Docs.hs trivial Docs.hs (generating docs.json missing " on type line) 2013-03-21 13:27:04 +00:00
Initialize.hs Load json representation of types with Template Haskell, so library files are the base truth of type information. 2013-03-16 22:24:18 -07:00