2017-06-15 18:13:18 +00:00
|
|
|
# Elm
|
2020-11-18 06:48:19 +00:00
|
|
|
# Domain-specific programming language for declaratively creating
|
|
|
|
# web browser-based graphical user interfaces.
|
2017-06-15 18:13:18 +00:00
|
|
|
|
|
|
|
# Start Elm REPL
|
|
|
|
elm repl
|
|
|
|
|
2020-10-15 17:29:27 +00:00
|
|
|
# Default compilation
|
2017-06-15 18:13:18 +00:00
|
|
|
elm make HelloWorld.elm -> index.html
|
|
|
|
|
|
|
|
# Custom name
|
|
|
|
elm make HelloWorld.elm --output hw.js
|
|
|
|
|
|
|
|
# Compile multiple files
|
|
|
|
elm make HelloWorld.elm MyModule.elm --output hw.js
|
|
|
|
|
|
|
|
# Compile with warnings
|
|
|
|
elm make HelloWorld.elm --warn
|
|
|
|
|
|
|
|
# Save result to a HTML
|
|
|
|
elm make HelloWorld.elm --output hw.html
|
|
|
|
|
|
|
|
# Install a package
|
|
|
|
elm package install evancz/elm-html
|
|
|
|
|
|
|
|
# See also:
|
|
|
|
# Elm language cheat sheets at /elm/
|
|
|
|
# list of pages: /elm/:list
|
|
|
|
# learn Elm: /elm/:learn
|
|
|
|
# search in pages: /elm/~keyword
|