Created
November 15, 2018 22:15
-
-
Save jan-schreib/8e7e0c0a1c469b5086b414293096e35a to your computer and use it in GitHub Desktop.
elm openbsd patch 0.19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/elm.cabal b/elm.cabal | |
index 48aa84f0..b247663a 100644 | |
--- a/elm.cabal | |
+++ b/elm.cabal | |
@@ -53,11 +53,6 @@ Executable elm | |
other-modules: | |
Bump | |
- Develop | |
- Develop.Generate.Help | |
- Develop.Generate.Index | |
- Develop.StaticFiles | |
- Develop.StaticFiles.Build | |
Diff | |
Init | |
Install | |
diff --git a/ui/terminal/src/Main.hs b/ui/terminal/src/Main.hs | |
index 8a441b94..e27e6741 100644 | |
--- a/ui/terminal/src/Main.hs | |
+++ b/ui/terminal/src/Main.hs | |
@@ -20,7 +20,6 @@ import Terminal.Args | |
import Terminal.Args.Helpers | |
import qualified Bump | |
-import qualified Develop | |
import qualified Diff | |
import qualified Init | |
import qualified Install | |
@@ -39,7 +38,6 @@ main = | |
complex intro outro | |
[ repl | |
, init | |
- , reactor | |
, make | |
, install | |
, bump | |
@@ -138,29 +136,6 @@ interpreter = | |
-- REACTOR | |
-reactor :: Interface | |
-reactor = | |
- let | |
- summary = | |
- "Compile code with a click. It opens a file viewer in your browser, and\ | |
- \ when you click on an Elm file, it compiles and you see the result." | |
- | |
- details = | |
- "The `reactor` command starts a local server on your computer:" | |
- | |
- example = | |
- reflow | |
- "After running that command, you would have a server at <http://localhost:8000>\ | |
- \ that helps with development. It shows your files like a file viewer. If you\ | |
- \ click on an Elm file, it will compile it for you! And you can just press\ | |
- \ the refresh button in the browser to recompile things." | |
- | |
- reactorFlags = | |
- flags Develop.Flags | |
- |-- flag "port" port_ "The port of the server (default: 8000)" | |
- in | |
- Interface "reactor" (Common summary) details example noArgs reactorFlags Develop.run | |
- | |
port_ :: Parser Int | |
port_ = |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment