Sha256: 1435b7d3c1e6313105d63b50a37f2e03cde22279f065667f84a42feaf8603df0

Contents?: true

Size: 514 Bytes

Versions: 15

Compression:

Stored size: 514 Bytes

Contents

provision-elm() {
  local platform=$(determine-platform)

  if ! has-executable elm; then
    banner "Installing Elm"

    if [[ $platform == "mac" ]]; then
      install brew=elm
    else
      print-wrapped "\
It doesn't look like you have Elm installed.

Elm is easy to install on Mac, but requires more manual work on other platforms.
The best thing to do is to follow the installation instructions on the official
Elm guide:

    https://guide.elm-lang.org/install/elm.html
      "
      exit 1
    fi
  fi
}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
setup_script_generator-0.5.0 lib/setup_script_generator/templates/provisions/elm.sh
setup_script_generator-0.4.1 lib/setup_script_generator/templates/provisions/elm.sh
setup_script_generator-0.4.0 lib/setup_script_generator/templates/provisions/elm.sh
setup_script_generator-0.3.1 lib/setup_script_generator/templates/provisions/elm.sh
setup_script_generator-0.3.0 lib/setup_script_generator/templates/provisions/elm.sh
setup_script_generator-0.2.9 lib/setup_script_generator/templates/provisions/elm.sh
setup_script_generator-0.2.8 lib/setup_script_generator/templates/provisions/elm.sh
setup_script_generator-0.2.7 lib/setup_script_generator/templates/provisions/elm.sh
setup_script_generator-0.2.6 lib/setup_script_generator/templates/provisions/elm.sh
setup_script_generator-0.2.5 lib/setup_script_generator/templates/provisions/elm.sh
setup_script_generator-0.2.4 lib/setup_script_generator/templates/provisions/elm.sh
setup_script_generator-0.2.3 lib/setup_script_generator/templates/provisions/elm.sh
setup_script_generator-0.2.2 lib/setup_script_generator/templates/provisions/elm.sh
setup_script_generator-0.2.1 lib/setup_script_generator/templates/provisions/elm.sh
setup_script_generator-0.2.0 lib/setup_script_generator/templates/provisions/elm.sh