mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-28 11:09:51 +00:00
19 lines
382 B
Text
19 lines
382 B
Text
|
#!/bin/bash
|
||
|
# Description: The Elixir programming language
|
||
|
set -e
|
||
|
|
||
|
case $_PLATFORM in
|
||
|
darwin)
|
||
|
_brew elixir
|
||
|
;;
|
||
|
*)
|
||
|
_recipe _apt
|
||
|
|
||
|
_apt_source "deb https://packages.erlang-solutions.com/ubuntu $(lsb_release -cs) contrib"
|
||
|
_apt esl-erlang
|
||
|
_apt elixir
|
||
|
;;
|
||
|
esac
|
||
|
|
||
|
_run "[elixir] Installing / updating hex" mix local.hex --force
|