on master help sign in
Change version numbers and updated .cabal file.
commitc0860aaf7c2dc34ab59f9a003eeeae575f41124c authorevancz <info@elm-lang.org> dateWed 25 Apr 2012, 01:52 (15 years ago) parent62640ab
3 files changed+11−32
Elm.cabal+7−28 src/Elm.hs+2−2 src/Server.hs+2−2
Elm.cabal+7−28
@@ -1,47 +1,26 @@
1−-- Elm.cabal auto-generated by cabal init. For additional options, see
2−-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
3−-- The name of the package.
4−Name: Elm
51
6−-- The package version. See the Haskell package versioning policy
7−-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
8−-- standards guiding when and how versions should be incremented.
2+Name: Elm
93Version: 0.1.0
4+Synopsis: The Elm compiler and server.
5+Description: Elm aims to make client-side web-development more pleasant.
6+ It is a statically/strongly typed, functional reactive
7+ language to HTML, CSS, and JS. This package provides a
8+ compiler and server for Elm.
109
11−-- A short (one-line) description of the package.
12−Synopsis: The Elm compiler: compiles a statically/strongly typed, functional reactive language to HTML, CSS, and JS.
13−
14−-- A longer description of the package.
15−-- Description:
16−
17−-- URL for the project homepage or repository.
1810Homepage: http://elm-lang.org
1911
20−-- The license under which the package is released.
2112License: BSD3
22−
23−-- The file containing the license text.
2413License-file: LICENSE
2514
26−-- The package author(s).
2715Author: Evan Czaplicki
28−
29−-- An email address to which users can send suggestions, bug reports,
30−-- and patches.
3116Maintainer: info@elm-lang.org
32−
33−-- A copyright notice.
34−-- Copyright:
17+Copyright: Copyright: (c) 2011-2012 Evan Czaplicki
3518
3619Category: Compiler
3720
3821Build-type: Simple
3922
40−-- Extra files to be distributed with the package, such as examples or
41−-- a README.
4223Extra-source-files: README, elm-mini.js
43−
44−-- Constraint on the version of Cabal needed to build this package.
4524Cabal-version: >=1.2
4625
4726
src/Elm.hs+2−2
@@ -10,7 +10,7 @@ import Text.Blaze.Renderer.String
1010main = getArgs >>= parse
1111
1212parse ("--help":_) = putStrLn usage
13−parse ("--version":_) = putStrLn "The Elm Compiler 0.1"
13+parse ("--version":_) = putStrLn "The Elm Compiler 0.1.0"
1414parse [loc,file]
1515 | "--runtime-location=" `isPrefixOf` loc =
1616 produceHtml (tail $ dropWhile (/='=') loc) file
@@ -33,7 +33,7 @@ usageMini =
3333usage =
3434 "Usage: elm [OPTIONS] FILE\n\
3535 \Compile .elm files to .html files.\n\
36− \Example: elm main.elm\n\
36+ \Example: elm --runtime-location=../elm-mini.js main.elm\n\
3737 \\n\
3838 \Resource Locations:\n\
3939 \ --runtime-location set the location of the Elm runtime (elm-mini.js)\n\
src/Server.hs+2−2
@@ -15,7 +15,7 @@ import ToHtml
1515
1616serve :: String -> IO ()
1717serve libLoc = do
18− putStrLn "Elm Server 0.1: running at <http://localhost:8000>"
18+ putStrLn "Elm Server 0.1.0: running at <http://localhost:8000>"
1919 simpleHTTP nullConf $ do
2020 compressedResponseFilter
2121 msum [ uriRest (serveElm libLoc)
@@ -32,7 +32,7 @@ serveElm libLoc fp = do
3232main = getArgs >>= parse
3333
3434parse ("--help":_) = putStrLn usage
35−parse ("--version":_) = putStrLn "The Elm Server 0.1"
35+parse ("--version":_) = putStrLn "The Elm Server 0.1.0"
3636parse [] = serve "/elm-mini.js"
3737parse [arg]
3838 | "--runtime-location=" `isPrefixOf` arg =