on master help sign in
Updates for version 0.1.1.6
44b2e45evancz
Elm.cabal+4−4
@@ -1,6 +1,6 @@
1
1
2Name: Elm
2Name: Elm
3−Version: 0.1.1.4
3+Version: 0.1.1.6
4Synopsis: The Elm compiler and server.
4Synopsis: The Elm compiler and server.
5Description: Elm aims to make client-side web-development more pleasant.
5Description: Elm aims to make client-side web-development more pleasant.
6 It is a statically/strongly typed, functional reactive
6 It is a statically/strongly typed, functional reactive
@@ -34,7 +34,7 @@ Executable elm
34 other-modules: Ast, CompileToJS, GenerateHtml, Guid, Initialize,
34 other-modules: Ast, CompileToJS, GenerateHtml, Guid, Initialize,
35 Rename, Language.Elm, Binop, Combinators, Lexer,
35 Rename, Language.Elm, Binop, Combinators, Lexer,
36 ParsePatterns, Parser, ParserLib, ParseTypes, Tokens,
36 ParsePatterns, Parser, ParserLib, ParseTypes, Tokens,
37− Types, Constrain, Hints, Types, Unify
37+ Types, Constrain, Hints, Types, Unify, ExtractNoscript
38
38
39 -- Packages needed in order to build this package.
39 -- Packages needed in order to build this package.
40 ghc-options: -O3
40 ghc-options: -O3
@@ -56,7 +56,7 @@ Executable elm-server
56 other-modules: Ast, CompileToJS, GenerateHtml, Guid, Initialize,
56 other-modules: Ast, CompileToJS, GenerateHtml, Guid, Initialize,
57 Rename, Language.Elm, Binop, Combinators, Lexer,
57 Rename, Language.Elm, Binop, Combinators, Lexer,
58 ParsePatterns, Parser, ParserLib, ParseTypes, Tokens,
58 ParsePatterns, Parser, ParserLib, ParseTypes, Tokens,
59− Types, Constrain, Hints, Types, Unify
59+ Types, Constrain, Hints, Types, Unify, ExtractNoscript
60 ghc-options: -O3
60 ghc-options: -O3
61 Build-depends: base >=4.2 && <5, containers >= 0.3, transformers >= 0.2,
61 Build-depends: base >=4.2 && <5, containers >= 0.3, transformers >= 0.2,
62 mtl >= 2, parsec >= 3.1.1, blaze-html == 0.5.0.*,
62 mtl >= 2, parsec >= 3.1.1, blaze-html == 0.5.0.*,
@@ -69,4 +69,4 @@ Library
69 other-modules: Ast, CompileToJS, GenerateHtml, Guid, Initialize,
69 other-modules: Ast, CompileToJS, GenerateHtml, Guid, Initialize,
70 Rename, Binop, Combinators, Lexer,
70 Rename, Binop, Combinators, Lexer,
71 ParsePatterns, Parser, ParserLib, ParseTypes, Tokens,
71 ParsePatterns, Parser, ParserLib, ParseTypes, Tokens,
72− Types, Constrain, Hints, Types, Unify
72+ Types, Constrain, Hints, Types, Unify, ExtractNoscript
src/Compiler.hs+1−1
@@ -10,7 +10,7 @@ import Text.Blaze.Html.Renderer.String (renderHtml)
10main = getArgs >>= parse
10main = getArgs >>= parse
11
11
12parse ("--help":_) = putStrLn usage
12parse ("--help":_) = putStrLn usage
13−parse ("--version":_) = putStrLn "The Elm Compiler 0.1.1.4"
13+parse ("--version":_) = putStrLn "The Elm Compiler 0.1.1.6"
14parse [loc,file]
14parse [loc,file]
15 | "--runtime-location=" `isPrefixOf` loc =
15 | "--runtime-location=" `isPrefixOf` loc =
16 produceHtml (tail $ dropWhile (/='=') loc) file
16 produceHtml (tail $ dropWhile (/='=') loc) file
src/Server.hs+2−2
@@ -11,7 +11,7 @@ import Language.Elm
11
11
12serve :: String -> IO ()
12serve :: String -> IO ()
13serve libLoc = do
13serve libLoc = do
14− putStrLn "Elm Server 0.1.1.4: running at <http://localhost:8000>"
14+ putStrLn "Elm Server 0.1.1.6: running at <http://localhost:8000>"
15 simpleHTTP nullConf $ do
15 simpleHTTP nullConf $ do
16 compressedResponseFilter
16 compressedResponseFilter
17 msum [ uriRest (serveElm libLoc)
17 msum [ uriRest (serveElm libLoc)
@@ -31,7 +31,7 @@ serveElm libLoc fp = do
31main = getArgs >>= parse
31main = getArgs >>= parse
32
32
33parse ("--help":_) = putStrLn usage
33parse ("--help":_) = putStrLn usage
34−parse ("--version":_) = putStrLn "The Elm Server 0.1.1.4"
34+parse ("--version":_) = putStrLn "The Elm Server 0.1.1.6"
35parse [] = serve "/elm-mini.js"
35parse [] = serve "/elm-mini.js"
36parse [arg]
36parse [arg]
37 | "--runtime-location=" `isPrefixOf` arg =
37 | "--runtime-location=" `isPrefixOf` arg =