dotfiles/recipes/elixir

23 lines
453 B
Text
Raw Normal View History

2020-06-25 01:31:00 +00:00
#!/bin/bash
# Description: The Elixir programming language
set -e
case $_PLATFORM in
darwin)
_brew elixir
;;
2021-02-05 00:05:51 +00:00
arch)
_recipe _arch
_pacman elixir
;;
debian)
2020-06-25 01:31:00 +00:00
_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