packages feed

elm-server 0.7 → 0.8

raw patch · 4 files changed

+39/−38 lines, 4 filesdep ~Elmdep ~happstack-serversetup-changed

Dependency ranges changed: Elm, happstack-server

Files

LICENSE view
@@ -1,30 +1,30 @@-Copyright (c)2012, Evan Czaplicki
-
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-    * Redistributions of source code must retain the above copyright
-      notice, this list of conditions and the following disclaimer.
-
-    * Redistributions in binary form must reproduce the above
-      copyright notice, this list of conditions and the following
-      disclaimer in the documentation and/or other materials provided
-      with the distribution.
-
-    * Neither the name of Evan Czaplicki nor the names of other
-      contributors may be used to endorse or promote products derived
-      from this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
-"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
-LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
-A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
-OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
-SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
-LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
-DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
-THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
-OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+Copyright (c)2012, Evan Czaplicki++All rights reserved.++Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions are met:++    * Redistributions of source code must retain the above copyright+      notice, this list of conditions and the following disclaimer.++    * Redistributions in binary form must reproduce the above+      copyright notice, this list of conditions and the following+      disclaimer in the documentation and/or other materials provided+      with the distribution.++    * Neither the name of Evan Czaplicki nor the names of other+      contributors may be used to endorse or promote products derived+      from this software without specific prior written permission.++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Server.hs view
@@ -16,7 +16,8 @@  serve :: String -> IO () serve libLoc = do-  putStrLn ("Elm Server " ++ showVersion version ++ ": running at <http://localhost:8000>")+  putStrLn ("Elm Server " ++ showVersion version +++            ": running at <http://localhost:8000>")   putStrLn "Just refresh a page to recompile it!"   simpleHTTP nullConf $ do          _ <- compressedResponseFilter@@ -43,7 +44,7 @@ parse :: [String] -> IO () parse ("--help":_) = putStrLn usage parse ("--version":_) = putStrLn ("The Elm Server " ++ showVersion version)-parse [] = serve =<< Elm.runtimeLocation+parse [] = serve =<< Elm.runtime parse [arg]     | "--runtime-location=" `isPrefixOf` arg =         serve . tail $ dropWhile (/='=') arg
Setup.hs view
@@ -1,2 +1,2 @@-import Distribution.Simple
-main = defaultMain
+import Distribution.Simple+main = defaultMain
elm-server.cabal view
@@ -1,5 +1,5 @@ Name:                elm-server-Version:             0.7+Version:             0.8 Synopsis:            The Elm language server. Description:         This package provides a standalone, Happstack-based Elm server. @@ -17,7 +17,7 @@ Build-type:          Simple  --Extra-source-files:  README.md-Cabal-version:       >=1.6+Cabal-version:       >=1.8  source-repository head   type:     git@@ -32,7 +32,7 @@                        parsec >= 3.1.1,                        blaze-html >= 0.5.1,                        HTTP >= 4000,-                       happstack-server == 7.1.1 || == 7.0.2,+                       happstack-server == 7.1.1 || == 7.1.7 || == 7.0.2,                        deepseq,                        filepath,-                       Elm >= 0.7+                       Elm >= 0.8