defmodule NervesToolchainArmUnknownLinuxGnueabihf.Mixfile do use Mix.Project @version Path.join(__DIR__, "VERSION") |> File.read! |> String.strip def project do [app: :nerves_toolchain_arm_unknown_linux_gnueabihf, version: @version, elixir: "~> 1.3", compilers: Mix.compilers ++ [:nerves_package], description: description(), package: package(), deps: deps()] end # Configuration for the OTP application # # Type "mix help compile.app" for more information def application do [env: [ target_tuple: :arm_unknown_linux_gnueabihf ]] end # Dependencies can be Hex packages: # # {:mydep, "~> 0.3.0"} # # Or git/path repositories: # # {:mydep, git: "https://github.com/elixir-lang/mydep.git", tag: "0.1.0"} # # Type "mix help deps" for more examples and options defp deps do [{:nerves, "~> 0.4.0-rc.0"}, {:nerves_toolchain_ctng, "~> 0.8.0-rc.0"}] end defp description do """ Nerves Toolchain - arm-unknown-linux-gnueabihf """ end defp package do [maintainers: ["Frank Hunleth", "Justin Schneck"], files: ["lib", "mingw32_x86_64_defconfig", "defconfig", "README.md", "LICENSE", "nerves.exs", "mix.exs", "VERSION"], licenses: ["Apache 2.0"], links: %{"Github" => "https://github.com/nerves-project/toolchains/nerves_toolchain_arm_unknown_linux_gnueabihf"}] end end