From 86c64db70ee35eba1964bdfc54f7c154c8dd1457 Mon Sep 17 00:00:00 2001 From: Justin Schneck Date: Thu, 22 Feb 2018 11:49:42 -0500 Subject: [PATCH] v1.0.0-rc.0 --- .circleci/config.yml | 2 ++ CHANGELOG.md | 7 ++++++ .../VERSION | 2 +- .../mix.exs | 22 ++++++++++++------- .../mix.lock | 4 ++-- .../VERSION | 2 +- .../mix.exs | 22 ++++++++++++------- .../mix.lock | 4 ++-- .../VERSION | 2 +- .../mix.exs | 22 ++++++++++++------- .../mix.lock | 4 ++-- .../VERSION | 2 +- .../mix.exs | 22 ++++++++++++------- .../mix.lock | 4 ++-- nerves_toolchain_ctng/CHANGELOG.md | 5 +++++ nerves_toolchain_ctng/VERSION | 2 +- nerves_toolchain_ctng/mix.exs | 2 +- nerves_toolchain_ctng/mix.lock | 2 +- .../VERSION | 2 +- .../mix.exs | 22 ++++++++++++------- .../mix.lock | 4 ++-- .../VERSION | 2 +- .../mix.exs | 22 ++++++++++++------- .../mix.lock | 4 ++-- .../VERSION | 2 +- .../mix.exs | 22 ++++++++++++------- .../mix.lock | 4 ++-- .../VERSION | 2 +- .../mix.exs | 22 ++++++++++++------- .../mix.lock | 4 ++-- 30 files changed, 153 insertions(+), 91 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f2ac80a..1b529d5 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,5 +1,7 @@ defaults: &defaults working_directory: /home/nerves/build + environment: + ENV: CI docker: - image: nervesproject/toolchains diff --git a/CHANGELOG.md b/CHANGELOG.md index f521833..b825f67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ # Toolchain Releases +## v1.0.0-rc.0 + + * Updated dependencies + * nerves v1.0-rc + * nerves_toolchain_ctng v1.4-rc + ## v0.13.1 + * Enhancements * Build static toolchains for Linux to avoid shared library issues diff --git a/nerves_toolchain_aarch64_unknown_linux_gnueabi/VERSION b/nerves_toolchain_aarch64_unknown_linux_gnueabi/VERSION index c317a91..49cd325 100644 --- a/nerves_toolchain_aarch64_unknown_linux_gnueabi/VERSION +++ b/nerves_toolchain_aarch64_unknown_linux_gnueabi/VERSION @@ -1 +1 @@ -0.13.1 +1.0.0-rc.0 diff --git a/nerves_toolchain_aarch64_unknown_linux_gnueabi/mix.exs b/nerves_toolchain_aarch64_unknown_linux_gnueabi/mix.exs index cdf819f..6ca7974 100644 --- a/nerves_toolchain_aarch64_unknown_linux_gnueabi/mix.exs +++ b/nerves_toolchain_aarch64_unknown_linux_gnueabi/mix.exs @@ -16,11 +16,21 @@ defmodule NervesToolchainAarch64UnknownLinuxGnueabi.Mixfile do description: description(), package: package(), deps: deps(), - aliases: ["deps.precompile": ["nerves.env", "deps.precompile"]] + aliases: [loadconfig: [&bootstrap/1]] ] end - def nerves_package do + def application do + [] + end + + defp bootstrap(args) do + System.put_env("MIX_TARGET", "CC") + Application.start(:nerves_bootstrap) + Mix.Task.run("loadconfig", args) + end + + defp nerves_package do [ type: :toolchain, platform: Nerves.Toolchain.CTNG, @@ -35,14 +45,10 @@ defmodule NervesToolchainAarch64UnknownLinuxGnueabi.Mixfile do ] end - def application do - [] - end - defp deps do [ - {:nerves, "~> 0.9", runtime: false}, - {:nerves_toolchain_ctng, "~> 1.3", runtime: false} + {:nerves, "~> 1.0-rc", runtime: false}, + {:nerves_toolchain_ctng, "~> 1.4-rc", runtime: false} ] end diff --git a/nerves_toolchain_aarch64_unknown_linux_gnueabi/mix.lock b/nerves_toolchain_aarch64_unknown_linux_gnueabi/mix.lock index 044cb21..8f9b7f0 100644 --- a/nerves_toolchain_aarch64_unknown_linux_gnueabi/mix.lock +++ b/nerves_toolchain_aarch64_unknown_linux_gnueabi/mix.lock @@ -1,5 +1,5 @@ %{ "distillery": {:hex, :distillery, "1.5.2", "eec18b2d37b55b0bcb670cf2bcf64228ed38ce8b046bb30a9b636a6f5a4c0080", [:mix], [], "hexpm"}, - "nerves": {:hex, :nerves, "0.9.3", "9916c1fa3079943dc91c72f8475bfae3a6a4e98a92b317d7454b37bc919014b3", [:mix], [{:distillery, "~> 1.4", [hex: :distillery, repo: "hexpm", optional: false]}], "hexpm"}, - "nerves_toolchain_ctng": {:hex, :nerves_toolchain_ctng, "1.3.1", "add96a4b12da4b50fdc5cf18517989de37cf3b329d7edf258ec794878ba06e89", [:mix], [{:nerves, "~> 0.9", [hex: :nerves, repo: "hexpm", optional: false]}], "hexpm"}, + "nerves": {:hex, :nerves, "1.0.0-rc.0", "5c6cf122611d0024d06b88593aa9af46180d30712fc6ff07fa25fb9100125f1e", [:mix], [{:distillery, "~> 1.4", [hex: :distillery, repo: "hexpm", optional: false]}], "hexpm"}, + "nerves_toolchain_ctng": {:hex, :nerves_toolchain_ctng, "1.4.0-rc.0", "1766752c2a854af5e0f102892d947f787f8f47ee500f564e7fdb50c4d1c4789c", [:mix], [{:nerves, "~> 1.0-rc", [hex: :nerves, repo: "hexpm", optional: false]}], "hexpm"}, } diff --git a/nerves_toolchain_arm_unknown_linux_gnueabihf/VERSION b/nerves_toolchain_arm_unknown_linux_gnueabihf/VERSION index c317a91..49cd325 100644 --- a/nerves_toolchain_arm_unknown_linux_gnueabihf/VERSION +++ b/nerves_toolchain_arm_unknown_linux_gnueabihf/VERSION @@ -1 +1 @@ -0.13.1 +1.0.0-rc.0 diff --git a/nerves_toolchain_arm_unknown_linux_gnueabihf/mix.exs b/nerves_toolchain_arm_unknown_linux_gnueabihf/mix.exs index ba3efcb..ba25ce1 100644 --- a/nerves_toolchain_arm_unknown_linux_gnueabihf/mix.exs +++ b/nerves_toolchain_arm_unknown_linux_gnueabihf/mix.exs @@ -16,11 +16,21 @@ defmodule NervesToolchainArmUnknownLinuxGnueabihf.Mixfile do description: description(), package: package(), deps: deps(), - aliases: ["deps.precompile": ["nerves.env", "deps.precompile"]] + aliases: [loadconfig: [&bootstrap/1]] ] end - def nerves_package do + def application do + [] + end + + defp bootstrap(args) do + System.put_env("MIX_TARGET", "CC") + Application.start(:nerves_bootstrap) + Mix.Task.run("loadconfig", args) + end + + defp nerves_package do [ type: :toolchain, platform: Nerves.Toolchain.CTNG, @@ -35,14 +45,10 @@ defmodule NervesToolchainArmUnknownLinuxGnueabihf.Mixfile do ] end - def application do - [] - end - defp deps do [ - {:nerves, "~> 0.9", runtime: false}, - {:nerves_toolchain_ctng, "~> 1.3", runtime: false} + {:nerves, "~> 1.0-rc", runtime: false}, + {:nerves_toolchain_ctng, "~> 1.4-rc", runtime: false} ] end diff --git a/nerves_toolchain_arm_unknown_linux_gnueabihf/mix.lock b/nerves_toolchain_arm_unknown_linux_gnueabihf/mix.lock index 044cb21..8f9b7f0 100644 --- a/nerves_toolchain_arm_unknown_linux_gnueabihf/mix.lock +++ b/nerves_toolchain_arm_unknown_linux_gnueabihf/mix.lock @@ -1,5 +1,5 @@ %{ "distillery": {:hex, :distillery, "1.5.2", "eec18b2d37b55b0bcb670cf2bcf64228ed38ce8b046bb30a9b636a6f5a4c0080", [:mix], [], "hexpm"}, - "nerves": {:hex, :nerves, "0.9.3", "9916c1fa3079943dc91c72f8475bfae3a6a4e98a92b317d7454b37bc919014b3", [:mix], [{:distillery, "~> 1.4", [hex: :distillery, repo: "hexpm", optional: false]}], "hexpm"}, - "nerves_toolchain_ctng": {:hex, :nerves_toolchain_ctng, "1.3.1", "add96a4b12da4b50fdc5cf18517989de37cf3b329d7edf258ec794878ba06e89", [:mix], [{:nerves, "~> 0.9", [hex: :nerves, repo: "hexpm", optional: false]}], "hexpm"}, + "nerves": {:hex, :nerves, "1.0.0-rc.0", "5c6cf122611d0024d06b88593aa9af46180d30712fc6ff07fa25fb9100125f1e", [:mix], [{:distillery, "~> 1.4", [hex: :distillery, repo: "hexpm", optional: false]}], "hexpm"}, + "nerves_toolchain_ctng": {:hex, :nerves_toolchain_ctng, "1.4.0-rc.0", "1766752c2a854af5e0f102892d947f787f8f47ee500f564e7fdb50c4d1c4789c", [:mix], [{:nerves, "~> 1.0-rc", [hex: :nerves, repo: "hexpm", optional: false]}], "hexpm"}, } diff --git a/nerves_toolchain_armv5tejl_unknown_linux_musleabi/VERSION b/nerves_toolchain_armv5tejl_unknown_linux_musleabi/VERSION index c317a91..49cd325 100644 --- a/nerves_toolchain_armv5tejl_unknown_linux_musleabi/VERSION +++ b/nerves_toolchain_armv5tejl_unknown_linux_musleabi/VERSION @@ -1 +1 @@ -0.13.1 +1.0.0-rc.0 diff --git a/nerves_toolchain_armv5tejl_unknown_linux_musleabi/mix.exs b/nerves_toolchain_armv5tejl_unknown_linux_musleabi/mix.exs index c635e30..e8edacc 100644 --- a/nerves_toolchain_armv5tejl_unknown_linux_musleabi/mix.exs +++ b/nerves_toolchain_armv5tejl_unknown_linux_musleabi/mix.exs @@ -16,11 +16,21 @@ defmodule NervesToolchainArmv5tejlUnknownLinuxMusleabi.Mixfile do description: description(), package: package(), deps: deps(), - aliases: ["deps.precompile": ["nerves.env", "deps.precompile"]] + aliases: [loadconfig: [&bootstrap/1]] ] end - def nerves_package do + def application do + [] + end + + defp bootstrap(args) do + System.put_env("MIX_TARGET", "CC") + Application.start(:nerves_bootstrap) + Mix.Task.run("loadconfig", args) + end + + defp nerves_package do [ type: :toolchain, platform: Nerves.Toolchain.CTNG, @@ -35,14 +45,10 @@ defmodule NervesToolchainArmv5tejlUnknownLinuxMusleabi.Mixfile do ] end - def application do - [] - end - defp deps do [ - {:nerves, "~> 0.9", runtime: false}, - {:nerves_toolchain_ctng, "~> 1.3", runtime: false} + {:nerves, "~> 1.0-rc", runtime: false}, + {:nerves_toolchain_ctng, "~> 1.4-rc", runtime: false} ] end diff --git a/nerves_toolchain_armv5tejl_unknown_linux_musleabi/mix.lock b/nerves_toolchain_armv5tejl_unknown_linux_musleabi/mix.lock index 044cb21..8f9b7f0 100644 --- a/nerves_toolchain_armv5tejl_unknown_linux_musleabi/mix.lock +++ b/nerves_toolchain_armv5tejl_unknown_linux_musleabi/mix.lock @@ -1,5 +1,5 @@ %{ "distillery": {:hex, :distillery, "1.5.2", "eec18b2d37b55b0bcb670cf2bcf64228ed38ce8b046bb30a9b636a6f5a4c0080", [:mix], [], "hexpm"}, - "nerves": {:hex, :nerves, "0.9.3", "9916c1fa3079943dc91c72f8475bfae3a6a4e98a92b317d7454b37bc919014b3", [:mix], [{:distillery, "~> 1.4", [hex: :distillery, repo: "hexpm", optional: false]}], "hexpm"}, - "nerves_toolchain_ctng": {:hex, :nerves_toolchain_ctng, "1.3.1", "add96a4b12da4b50fdc5cf18517989de37cf3b329d7edf258ec794878ba06e89", [:mix], [{:nerves, "~> 0.9", [hex: :nerves, repo: "hexpm", optional: false]}], "hexpm"}, + "nerves": {:hex, :nerves, "1.0.0-rc.0", "5c6cf122611d0024d06b88593aa9af46180d30712fc6ff07fa25fb9100125f1e", [:mix], [{:distillery, "~> 1.4", [hex: :distillery, repo: "hexpm", optional: false]}], "hexpm"}, + "nerves_toolchain_ctng": {:hex, :nerves_toolchain_ctng, "1.4.0-rc.0", "1766752c2a854af5e0f102892d947f787f8f47ee500f564e7fdb50c4d1c4789c", [:mix], [{:nerves, "~> 1.0-rc", [hex: :nerves, repo: "hexpm", optional: false]}], "hexpm"}, } diff --git a/nerves_toolchain_armv6_rpi_linux_gnueabi/VERSION b/nerves_toolchain_armv6_rpi_linux_gnueabi/VERSION index c317a91..49cd325 100644 --- a/nerves_toolchain_armv6_rpi_linux_gnueabi/VERSION +++ b/nerves_toolchain_armv6_rpi_linux_gnueabi/VERSION @@ -1 +1 @@ -0.13.1 +1.0.0-rc.0 diff --git a/nerves_toolchain_armv6_rpi_linux_gnueabi/mix.exs b/nerves_toolchain_armv6_rpi_linux_gnueabi/mix.exs index 2bdb5ba..3e0ae3c 100644 --- a/nerves_toolchain_armv6_rpi_linux_gnueabi/mix.exs +++ b/nerves_toolchain_armv6_rpi_linux_gnueabi/mix.exs @@ -16,11 +16,21 @@ defmodule NervesToolchainArmv6RpiLinuxGnueabi.Mixfile do description: description(), package: package(), deps: deps(), - aliases: ["deps.precompile": ["nerves.env", "deps.precompile"]] + aliases: [loadconfig: [&bootstrap/1]] ] end - def nerves_package do + def application do + [] + end + + defp bootstrap(args) do + System.put_env("MIX_TARGET", "CC") + Application.start(:nerves_bootstrap) + Mix.Task.run("loadconfig", args) + end + + defp nerves_package do [ type: :toolchain, platform: Nerves.Toolchain.CTNG, @@ -35,14 +45,10 @@ defmodule NervesToolchainArmv6RpiLinuxGnueabi.Mixfile do ] end - def application do - [] - end - defp deps do [ - {:nerves, "~> 0.9", runtime: false}, - {:nerves_toolchain_ctng, "~> 1.3", runtime: false} + {:nerves, "~> 1.0-rc", runtime: false}, + {:nerves_toolchain_ctng, "~> 1.4-rc", runtime: false} ] end diff --git a/nerves_toolchain_armv6_rpi_linux_gnueabi/mix.lock b/nerves_toolchain_armv6_rpi_linux_gnueabi/mix.lock index 044cb21..8f9b7f0 100644 --- a/nerves_toolchain_armv6_rpi_linux_gnueabi/mix.lock +++ b/nerves_toolchain_armv6_rpi_linux_gnueabi/mix.lock @@ -1,5 +1,5 @@ %{ "distillery": {:hex, :distillery, "1.5.2", "eec18b2d37b55b0bcb670cf2bcf64228ed38ce8b046bb30a9b636a6f5a4c0080", [:mix], [], "hexpm"}, - "nerves": {:hex, :nerves, "0.9.3", "9916c1fa3079943dc91c72f8475bfae3a6a4e98a92b317d7454b37bc919014b3", [:mix], [{:distillery, "~> 1.4", [hex: :distillery, repo: "hexpm", optional: false]}], "hexpm"}, - "nerves_toolchain_ctng": {:hex, :nerves_toolchain_ctng, "1.3.1", "add96a4b12da4b50fdc5cf18517989de37cf3b329d7edf258ec794878ba06e89", [:mix], [{:nerves, "~> 0.9", [hex: :nerves, repo: "hexpm", optional: false]}], "hexpm"}, + "nerves": {:hex, :nerves, "1.0.0-rc.0", "5c6cf122611d0024d06b88593aa9af46180d30712fc6ff07fa25fb9100125f1e", [:mix], [{:distillery, "~> 1.4", [hex: :distillery, repo: "hexpm", optional: false]}], "hexpm"}, + "nerves_toolchain_ctng": {:hex, :nerves_toolchain_ctng, "1.4.0-rc.0", "1766752c2a854af5e0f102892d947f787f8f47ee500f564e7fdb50c4d1c4789c", [:mix], [{:nerves, "~> 1.0-rc", [hex: :nerves, repo: "hexpm", optional: false]}], "hexpm"}, } diff --git a/nerves_toolchain_ctng/CHANGELOG.md b/nerves_toolchain_ctng/CHANGELOG.md index 7431c72..8efc4f2 100644 --- a/nerves_toolchain_ctng/CHANGELOG.md +++ b/nerves_toolchain_ctng/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## v1.4.0-rc.0 + + * Updated dependencies + * nerves v1.0-rc + ## v1.3.1 * Enhancements diff --git a/nerves_toolchain_ctng/VERSION b/nerves_toolchain_ctng/VERSION index 3a3cd8c..946fef9 100644 --- a/nerves_toolchain_ctng/VERSION +++ b/nerves_toolchain_ctng/VERSION @@ -1 +1 @@ -1.3.1 +1.4.0-rc.0 diff --git a/nerves_toolchain_ctng/mix.exs b/nerves_toolchain_ctng/mix.exs index 5fbce59..9af1a8b 100644 --- a/nerves_toolchain_ctng/mix.exs +++ b/nerves_toolchain_ctng/mix.exs @@ -19,7 +19,7 @@ defmodule Nerves.Toolchain.Ctng.Mixfile do end defp deps do - [{:nerves, "~> 0.9", runtime: false}] + [{:nerves, "~> 1.0-rc", runtime: false}] end defp description do diff --git a/nerves_toolchain_ctng/mix.lock b/nerves_toolchain_ctng/mix.lock index ab119e7..eba0e34 100644 --- a/nerves_toolchain_ctng/mix.lock +++ b/nerves_toolchain_ctng/mix.lock @@ -1,4 +1,4 @@ %{ "distillery": {:hex, :distillery, "1.5.2", "eec18b2d37b55b0bcb670cf2bcf64228ed38ce8b046bb30a9b636a6f5a4c0080", [:mix], [], "hexpm"}, - "nerves": {:hex, :nerves, "0.9.0", "41f95cb299565f0b759924430f62d1ae7399f4552d8dcbf83699103fda8fd5ad", [:mix], [{:distillery, "~> 1.4", [hex: :distillery, repo: "hexpm", optional: false]}], "hexpm"}, + "nerves": {:hex, :nerves, "1.0.0-rc.0", "5c6cf122611d0024d06b88593aa9af46180d30712fc6ff07fa25fb9100125f1e", [:mix], [{:distillery, "~> 1.4", [hex: :distillery, repo: "hexpm", optional: false]}], "hexpm"}, } diff --git a/nerves_toolchain_i586_unknown_linux_gnu/VERSION b/nerves_toolchain_i586_unknown_linux_gnu/VERSION index c317a91..49cd325 100644 --- a/nerves_toolchain_i586_unknown_linux_gnu/VERSION +++ b/nerves_toolchain_i586_unknown_linux_gnu/VERSION @@ -1 +1 @@ -0.13.1 +1.0.0-rc.0 diff --git a/nerves_toolchain_i586_unknown_linux_gnu/mix.exs b/nerves_toolchain_i586_unknown_linux_gnu/mix.exs index cba4e1e..287786e 100644 --- a/nerves_toolchain_i586_unknown_linux_gnu/mix.exs +++ b/nerves_toolchain_i586_unknown_linux_gnu/mix.exs @@ -16,11 +16,21 @@ defmodule NervesToolchainI586UnknownLinuxGnu.Mixfile do description: description(), package: package(), deps: deps(), - aliases: ["deps.precompile": ["nerves.env", "deps.precompile"]] + aliases: [loadconfig: [&bootstrap/1]] ] end - def nerves_package do + def application do + [] + end + + defp bootstrap(args) do + System.put_env("MIX_TARGET", "CC") + Application.start(:nerves_bootstrap) + Mix.Task.run("loadconfig", args) + end + + defp nerves_package do [ type: :toolchain, platform: Nerves.Toolchain.CTNG, @@ -35,14 +45,10 @@ defmodule NervesToolchainI586UnknownLinuxGnu.Mixfile do ] end - def application do - [] - end - defp deps do [ - {:nerves, "~> 0.9", runtime: false}, - {:nerves_toolchain_ctng, "~> 1.3", runtime: false} + {:nerves, "~> 1.0-rc", runtime: false}, + {:nerves_toolchain_ctng, "~> 1.4-rc", runtime: false} ] end diff --git a/nerves_toolchain_i586_unknown_linux_gnu/mix.lock b/nerves_toolchain_i586_unknown_linux_gnu/mix.lock index 044cb21..8f9b7f0 100644 --- a/nerves_toolchain_i586_unknown_linux_gnu/mix.lock +++ b/nerves_toolchain_i586_unknown_linux_gnu/mix.lock @@ -1,5 +1,5 @@ %{ "distillery": {:hex, :distillery, "1.5.2", "eec18b2d37b55b0bcb670cf2bcf64228ed38ce8b046bb30a9b636a6f5a4c0080", [:mix], [], "hexpm"}, - "nerves": {:hex, :nerves, "0.9.3", "9916c1fa3079943dc91c72f8475bfae3a6a4e98a92b317d7454b37bc919014b3", [:mix], [{:distillery, "~> 1.4", [hex: :distillery, repo: "hexpm", optional: false]}], "hexpm"}, - "nerves_toolchain_ctng": {:hex, :nerves_toolchain_ctng, "1.3.1", "add96a4b12da4b50fdc5cf18517989de37cf3b329d7edf258ec794878ba06e89", [:mix], [{:nerves, "~> 0.9", [hex: :nerves, repo: "hexpm", optional: false]}], "hexpm"}, + "nerves": {:hex, :nerves, "1.0.0-rc.0", "5c6cf122611d0024d06b88593aa9af46180d30712fc6ff07fa25fb9100125f1e", [:mix], [{:distillery, "~> 1.4", [hex: :distillery, repo: "hexpm", optional: false]}], "hexpm"}, + "nerves_toolchain_ctng": {:hex, :nerves_toolchain_ctng, "1.4.0-rc.0", "1766752c2a854af5e0f102892d947f787f8f47ee500f564e7fdb50c4d1c4789c", [:mix], [{:nerves, "~> 1.0-rc", [hex: :nerves, repo: "hexpm", optional: false]}], "hexpm"}, } diff --git a/nerves_toolchain_mipsel_unknown_linux_musl/VERSION b/nerves_toolchain_mipsel_unknown_linux_musl/VERSION index c317a91..49cd325 100644 --- a/nerves_toolchain_mipsel_unknown_linux_musl/VERSION +++ b/nerves_toolchain_mipsel_unknown_linux_musl/VERSION @@ -1 +1 @@ -0.13.1 +1.0.0-rc.0 diff --git a/nerves_toolchain_mipsel_unknown_linux_musl/mix.exs b/nerves_toolchain_mipsel_unknown_linux_musl/mix.exs index 4d11555..054cde1 100644 --- a/nerves_toolchain_mipsel_unknown_linux_musl/mix.exs +++ b/nerves_toolchain_mipsel_unknown_linux_musl/mix.exs @@ -16,11 +16,21 @@ defmodule NervesToolchainMipselUnknownLinuxMusl.Mixfile do description: description(), package: package(), deps: deps(), - aliases: ["deps.precompile": ["nerves.env", "deps.precompile"]] + aliases: [loadconfig: [&bootstrap/1]] ] end - def nerves_package do + def application do + [] + end + + defp bootstrap(args) do + System.put_env("MIX_TARGET", "CC") + Application.start(:nerves_bootstrap) + Mix.Task.run("loadconfig", args) + end + + defp nerves_package do [ type: :toolchain, platform: Nerves.Toolchain.CTNG, @@ -35,14 +45,10 @@ defmodule NervesToolchainMipselUnknownLinuxMusl.Mixfile do ] end - def application do - [] - end - defp deps do [ - {:nerves, "~> 0.9", runtime: false}, - {:nerves_toolchain_ctng, "~> 1.3", runtime: false} + {:nerves, "~> 1.0-rc", runtime: false}, + {:nerves_toolchain_ctng, "~> 1.4-rc", runtime: false} ] end diff --git a/nerves_toolchain_mipsel_unknown_linux_musl/mix.lock b/nerves_toolchain_mipsel_unknown_linux_musl/mix.lock index 044cb21..8f9b7f0 100644 --- a/nerves_toolchain_mipsel_unknown_linux_musl/mix.lock +++ b/nerves_toolchain_mipsel_unknown_linux_musl/mix.lock @@ -1,5 +1,5 @@ %{ "distillery": {:hex, :distillery, "1.5.2", "eec18b2d37b55b0bcb670cf2bcf64228ed38ce8b046bb30a9b636a6f5a4c0080", [:mix], [], "hexpm"}, - "nerves": {:hex, :nerves, "0.9.3", "9916c1fa3079943dc91c72f8475bfae3a6a4e98a92b317d7454b37bc919014b3", [:mix], [{:distillery, "~> 1.4", [hex: :distillery, repo: "hexpm", optional: false]}], "hexpm"}, - "nerves_toolchain_ctng": {:hex, :nerves_toolchain_ctng, "1.3.1", "add96a4b12da4b50fdc5cf18517989de37cf3b329d7edf258ec794878ba06e89", [:mix], [{:nerves, "~> 0.9", [hex: :nerves, repo: "hexpm", optional: false]}], "hexpm"}, + "nerves": {:hex, :nerves, "1.0.0-rc.0", "5c6cf122611d0024d06b88593aa9af46180d30712fc6ff07fa25fb9100125f1e", [:mix], [{:distillery, "~> 1.4", [hex: :distillery, repo: "hexpm", optional: false]}], "hexpm"}, + "nerves_toolchain_ctng": {:hex, :nerves_toolchain_ctng, "1.4.0-rc.0", "1766752c2a854af5e0f102892d947f787f8f47ee500f564e7fdb50c4d1c4789c", [:mix], [{:nerves, "~> 1.0-rc", [hex: :nerves, repo: "hexpm", optional: false]}], "hexpm"}, } diff --git a/nerves_toolchain_x86_64_unknown_linux_gnu/VERSION b/nerves_toolchain_x86_64_unknown_linux_gnu/VERSION index c317a91..49cd325 100644 --- a/nerves_toolchain_x86_64_unknown_linux_gnu/VERSION +++ b/nerves_toolchain_x86_64_unknown_linux_gnu/VERSION @@ -1 +1 @@ -0.13.1 +1.0.0-rc.0 diff --git a/nerves_toolchain_x86_64_unknown_linux_gnu/mix.exs b/nerves_toolchain_x86_64_unknown_linux_gnu/mix.exs index 82bbfaa..ee185f7 100644 --- a/nerves_toolchain_x86_64_unknown_linux_gnu/mix.exs +++ b/nerves_toolchain_x86_64_unknown_linux_gnu/mix.exs @@ -16,11 +16,21 @@ defmodule NervesToolchainX8664UnknownLinuxGnu.Mixfile do description: description(), package: package(), deps: deps(), - aliases: ["deps.precompile": ["nerves.env", "deps.precompile"]] + aliases: [loadconfig: [&bootstrap/1]] ] end - def nerves_package do + def application do + [] + end + + defp bootstrap(args) do + System.put_env("MIX_TARGET", "CC") + Application.start(:nerves_bootstrap) + Mix.Task.run("loadconfig", args) + end + + defp nerves_package do [ type: :toolchain, platform: Nerves.Toolchain.CTNG, @@ -35,14 +45,10 @@ defmodule NervesToolchainX8664UnknownLinuxGnu.Mixfile do ] end - def application do - [] - end - defp deps do [ - {:nerves, "~> 0.9", runtime: false}, - {:nerves_toolchain_ctng, "~> 1.3", runtime: false} + {:nerves, "~> 1.0-rc", runtime: false}, + {:nerves_toolchain_ctng, "~> 1.4-rc", runtime: false} ] end diff --git a/nerves_toolchain_x86_64_unknown_linux_gnu/mix.lock b/nerves_toolchain_x86_64_unknown_linux_gnu/mix.lock index 044cb21..8f9b7f0 100644 --- a/nerves_toolchain_x86_64_unknown_linux_gnu/mix.lock +++ b/nerves_toolchain_x86_64_unknown_linux_gnu/mix.lock @@ -1,5 +1,5 @@ %{ "distillery": {:hex, :distillery, "1.5.2", "eec18b2d37b55b0bcb670cf2bcf64228ed38ce8b046bb30a9b636a6f5a4c0080", [:mix], [], "hexpm"}, - "nerves": {:hex, :nerves, "0.9.3", "9916c1fa3079943dc91c72f8475bfae3a6a4e98a92b317d7454b37bc919014b3", [:mix], [{:distillery, "~> 1.4", [hex: :distillery, repo: "hexpm", optional: false]}], "hexpm"}, - "nerves_toolchain_ctng": {:hex, :nerves_toolchain_ctng, "1.3.1", "add96a4b12da4b50fdc5cf18517989de37cf3b329d7edf258ec794878ba06e89", [:mix], [{:nerves, "~> 0.9", [hex: :nerves, repo: "hexpm", optional: false]}], "hexpm"}, + "nerves": {:hex, :nerves, "1.0.0-rc.0", "5c6cf122611d0024d06b88593aa9af46180d30712fc6ff07fa25fb9100125f1e", [:mix], [{:distillery, "~> 1.4", [hex: :distillery, repo: "hexpm", optional: false]}], "hexpm"}, + "nerves_toolchain_ctng": {:hex, :nerves_toolchain_ctng, "1.4.0-rc.0", "1766752c2a854af5e0f102892d947f787f8f47ee500f564e7fdb50c4d1c4789c", [:mix], [{:nerves, "~> 1.0-rc", [hex: :nerves, repo: "hexpm", optional: false]}], "hexpm"}, } diff --git a/nerves_toolchain_x86_64_unknown_linux_musl/VERSION b/nerves_toolchain_x86_64_unknown_linux_musl/VERSION index c317a91..49cd325 100644 --- a/nerves_toolchain_x86_64_unknown_linux_musl/VERSION +++ b/nerves_toolchain_x86_64_unknown_linux_musl/VERSION @@ -1 +1 @@ -0.13.1 +1.0.0-rc.0 diff --git a/nerves_toolchain_x86_64_unknown_linux_musl/mix.exs b/nerves_toolchain_x86_64_unknown_linux_musl/mix.exs index fea123a..214713a 100644 --- a/nerves_toolchain_x86_64_unknown_linux_musl/mix.exs +++ b/nerves_toolchain_x86_64_unknown_linux_musl/mix.exs @@ -16,11 +16,21 @@ defmodule NervesToolchainX8664UnknownLinuxMusl.Mixfile do description: description(), package: package(), deps: deps(), - aliases: ["deps.precompile": ["nerves.env", "deps.precompile"]] + aliases: [loadconfig: [&bootstrap/1]] ] end - def nerves_package do + def application do + [] + end + + defp bootstrap(args) do + System.put_env("MIX_TARGET", "CC") + Application.start(:nerves_bootstrap) + Mix.Task.run("loadconfig", args) + end + + defp nerves_package do [ type: :toolchain, platform: Nerves.Toolchain.CTNG, @@ -35,14 +45,10 @@ defmodule NervesToolchainX8664UnknownLinuxMusl.Mixfile do ] end - def application do - [] - end - defp deps do [ - {:nerves, "~> 0.9", runtime: false}, - {:nerves_toolchain_ctng, "~> 1.3", runtime: false} + {:nerves, "~> 1.0-rc", runtime: false}, + {:nerves_toolchain_ctng, "~> 1.4-rc", runtime: false} ] end diff --git a/nerves_toolchain_x86_64_unknown_linux_musl/mix.lock b/nerves_toolchain_x86_64_unknown_linux_musl/mix.lock index 044cb21..8f9b7f0 100644 --- a/nerves_toolchain_x86_64_unknown_linux_musl/mix.lock +++ b/nerves_toolchain_x86_64_unknown_linux_musl/mix.lock @@ -1,5 +1,5 @@ %{ "distillery": {:hex, :distillery, "1.5.2", "eec18b2d37b55b0bcb670cf2bcf64228ed38ce8b046bb30a9b636a6f5a4c0080", [:mix], [], "hexpm"}, - "nerves": {:hex, :nerves, "0.9.3", "9916c1fa3079943dc91c72f8475bfae3a6a4e98a92b317d7454b37bc919014b3", [:mix], [{:distillery, "~> 1.4", [hex: :distillery, repo: "hexpm", optional: false]}], "hexpm"}, - "nerves_toolchain_ctng": {:hex, :nerves_toolchain_ctng, "1.3.1", "add96a4b12da4b50fdc5cf18517989de37cf3b329d7edf258ec794878ba06e89", [:mix], [{:nerves, "~> 0.9", [hex: :nerves, repo: "hexpm", optional: false]}], "hexpm"}, + "nerves": {:hex, :nerves, "1.0.0-rc.0", "5c6cf122611d0024d06b88593aa9af46180d30712fc6ff07fa25fb9100125f1e", [:mix], [{:distillery, "~> 1.4", [hex: :distillery, repo: "hexpm", optional: false]}], "hexpm"}, + "nerves_toolchain_ctng": {:hex, :nerves_toolchain_ctng, "1.4.0-rc.0", "1766752c2a854af5e0f102892d947f787f8f47ee500f564e7fdb50c4d1c4789c", [:mix], [{:nerves, "~> 1.0-rc", [hex: :nerves, repo: "hexpm", optional: false]}], "hexpm"}, }