# Configuration for the OTP application.
#
# Type `mix help compile.app` for more information.
def application do
[
mod: {Hp.Application, []},
extra_applications: [:logger, :runtime_tools]
]
end
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Specifies your project dependencies.
#
# Type `mix help deps` for examples and options.
defp deps do
[
{:phoenix, "~> 1.4.9"},
{:phoenix_pubsub, "~> 1.1"},
{:phoenix_ecto, "~> 4.0"},
{:ecto_sql, "~> 3.1"},
{:postgrex, ">= 0.0.0"},
{:gettext, "~> 0.11"},
{:jason, "~> 1.0"},
{:plug_cowboy, "~> 2.0"}
]
end
If it is just because of the version available, then I’d suggest to actually fetch the package description from the Arch Build System and change the pkgver in th PKGBUILD to any version you like, also its good practice to set pkgrel=0 then, you’ll get upstream updates then as they are available.
elixir-git from the AUR always fetches master branch and therefore might be in some state that is not usable.
as I can remember community/elixir provides mix without release command and since Im newb to this stuff I installed elixir-git to release my first phoenix app. But now Im installing asdf version of erlang/elixir to check if it will work for me.
mix release has been added with elixir 1.9, and latest on community/elixir is 1.8.2, so yes, it comes without it. Thats why I suggested to manually build from ABS.
But yes, asdf-vm is also a good option. You should though remove the faulty build installed through elixir-git.
To be honest, you rarely want to actually use a VCS-package from the AUR unless you really know what you are doing.
I installed elixir master-otp-22 and that’s all I saw in asdf output. So I guess that’s ok.
I can’t find any .tool-version file on my whole system