Skip to content

Commit

Permalink
Merge pull request #1408 from elm-lang/dev
Browse files Browse the repository at this point in the history
Update link to JS style guide
  • Loading branch information
process-bot committed Jun 7, 2016
2 parents af58e92 + 1950b46 commit e610efe
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ and send it to <[email protected]> before opening your pull request.
* JavaScript &mdash; use [Google's JS style guide][js]

[haskell]: https://gist.github.com/evancz/0a1f3717c92fe71702be
[js]: https://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml
[js]: https://google.github.io/styleguide/javascriptguide.xml

## Branches

Expand Down
2 changes: 1 addition & 1 deletion elm-compiler.cabal
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

Name: elm-compiler
Version: 0.17
Version: 0.17.1

Synopsis:
Values to help with elm-package, elm-make, and elm-lang.org.
Expand Down
10 changes: 9 additions & 1 deletion src/CommandLineRouter.hs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ import GHC.IO.Encoding (setLocaleEncoding, utf8)
import qualified Elm.Compiler.Version as Compiler
import qualified Elm.Package as Pkg



main :: IO ()
main =
do setLocaleEncoding utf8
Expand All @@ -19,6 +21,12 @@ main =
[] ->
putStrLn usageMessage

"--version" ->
putStrLn $ Pkg.versionToString Compiler.version

"-v" ->
putStrLn $ Pkg.versionToString Compiler.version

command : args ->
attemptToRun command args

Expand Down Expand Up @@ -50,7 +58,7 @@ attemptToRun command args =

usageMessage :: String
usageMessage =
"Elm Platform " ++ (Pkg.versionToString Compiler.version) ++ " - a way to run all Elm tools\n\
"Elm Platform " ++ Pkg.versionToString Compiler.version ++ " - a way to run all Elm tools\n\
\\n\
\Usage: elm <command> [<args>]\n\
\\n\
Expand Down

0 comments on commit e610efe

Please sign in to comment.