on master help sign in
TEMP: add -alpha-2 postfix to `elm --version` for editor plugins
b64b554Evan Czaplicki
terminal/src/Terminal/Args.hs+2−2
@@ -41,7 +41,7 @@ simple details example args_ flags_ callback =
41 argStrings <- Env.getArgs
41 argStrings <- Env.getArgs
42 case argStrings of
42 case argStrings of
43 ["--version"] ->
43 ["--version"] ->
44− do hPutStrLn stdout (V.toChars V.compiler)
44+ do hPutStrLn stdout (V.toChars V.compiler ++ "-alpha-2")
45 Exit.exitSuccess
45 Exit.exitSuccess
46
46
47 chunks ->
47 chunks ->
@@ -69,7 +69,7 @@ complex intro outro interfaces =
69 Error.exitWithOverview intro outro interfaces
69 Error.exitWithOverview intro outro interfaces
70
70
71 ["--version"] ->
71 ["--version"] ->
72− do hPutStrLn stdout (V.toChars V.compiler)
72+ do hPutStrLn stdout (V.toChars V.compiler ++ "-alpha-2")
73 Exit.exitSuccess
73 Exit.exitSuccess
74
74
75 command : chunks ->
75 command : chunks ->