From 0a70fad21d4b0908e724e881c0ecc482eddfeaeb Mon Sep 17 00:00:00 2001 From: Lars Wikman Date: Thu, 4 Jul 2019 06:46:31 +0200 Subject: [PATCH] Adjusted dependencies for device targets. Added ex_doc. --- mix.exs | 9 ++++++--- mix.lock | 5 +++++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/mix.exs b/mix.exs index 48db70d..039ec09 100644 --- a/mix.exs +++ b/mix.exs @@ -1,6 +1,8 @@ defmodule ScenicDriverInky.MixProject do use Mix.Project + @pi_targets [:rpi, :rpi0, :rpi2, :rpi3, :rpi3a] + def project do [ app: :scenic_driver_inky, @@ -24,9 +26,10 @@ defmodule ScenicDriverInky.MixProject do defp deps do [ {:scenic, "~> 0.9"}, - {:scenic_driver_nerves_rpi, "~> 0.9"}, - {:rpi_fb_capture, "~> 0.1"}, - {:inky, "~> 1.0.0"} + {:scenic_driver_nerves_rpi, "~> 0.9", targets: @pi_targets}, + {:rpi_fb_capture, "~> 0.1", targets: @pi_targets}, + {:inky, "~> 1.0.0"}, + {:ex_doc, ">= 0.0.0", only: :dev} ] end diff --git a/mix.lock b/mix.lock index 7bf3f9d..a160bc9 100644 --- a/mix.lock +++ b/mix.lock @@ -1,10 +1,15 @@ %{ "circuits_gpio": {:hex, :circuits_gpio, "0.4.1", "344dd34f2517687fd28723e5552571babff5469db05b697181cab860fe7eff23", [:make, :mix], [{:elixir_make, "~> 0.5", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm"}, "circuits_spi": {:hex, :circuits_spi, "0.1.3", "a94889abc874e9976f397c649152776d9c0863e5fd3377203c7f0cf992d9609c", [:make, :mix], [{:elixir_make, "~> 0.5", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm"}, + "earmark": {:hex, :earmark, "1.3.2", "b840562ea3d67795ffbb5bd88940b1bed0ed9fa32834915125ea7d02e35888a5", [:mix], [], "hexpm"}, "elixir_make": {:hex, :elixir_make, "0.5.2", "96a28c79f5b8d34879cd95ebc04d2a0d678cfbbd3e74c43cb63a76adf0ee8054", [:mix], [], "hexpm"}, + "ex_doc": {:hex, :ex_doc, "0.20.2", "1bd0dfb0304bade58beb77f20f21ee3558cc3c753743ae0ddbb0fd7ba2912331", [:mix], [{:earmark, "~> 1.3", [hex: :earmark, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.10", [hex: :makeup_elixir, repo: "hexpm", optional: false]}], "hexpm"}, "font_metrics": {:hex, :font_metrics, "0.3.1", "025ff9957040eb4d6430c306a4445bad5d9f43ec24448c1647df7cb63b5dd88c", [:mix], [{:msgpax, "~> 2.2", [hex: :msgpax, repo: "hexpm", optional: false]}], "hexpm"}, "inky": {:hex, :inky, "1.0.0", "7275ffae2e752c524b3f1fa79ed1ba7a431e2014710fff338ffbb2f7202aa205", [:mix], [{:circuits_gpio, "~> 0.4", [hex: :circuits_gpio, repo: "hexpm", optional: false]}, {:circuits_spi, "~> 0.1", [hex: :circuits_spi, repo: "hexpm", optional: false]}], "hexpm"}, + "makeup": {:hex, :makeup, "0.8.0", "9cf32aea71c7fe0a4b2e9246c2c4978f9070257e5c9ce6d4a28ec450a839b55f", [:mix], [{:nimble_parsec, "~> 0.5.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm"}, + "makeup_elixir": {:hex, :makeup_elixir, "0.13.0", "be7a477997dcac2e48a9d695ec730b2d22418292675c75aa2d34ba0909dcdeda", [:mix], [{:makeup, "~> 0.8", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm"}, "msgpax": {:hex, :msgpax, "2.2.3", "02be0be1b440a12d7e6f6c45662463d53d01a30b5bd4ab806276453b455f820a", [:mix], [{:plug, "~> 1.0", [hex: :plug, repo: "hexpm", optional: true]}], "hexpm"}, + "nimble_parsec": {:hex, :nimble_parsec, "0.5.0", "90e2eca3d0266e5c53f8fbe0079694740b9c91b6747f2b7e3c5d21966bba8300", [:mix], [], "hexpm"}, "rpi_fb_capture": {:hex, :rpi_fb_capture, "0.2.1", "23edff195b3cce53fde3b311bc1b86cac82046fb2ad77eae211dfcfa6684e5de", [:make, :mix], [{:elixir_make, "~> 0.5", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm"}, "scenic": {:hex, :scenic, "0.10.2", "f4f0a00eed677ac50a7b297375c0323d03f4273580f17c50b877abfaf0c6dc1f", [:make, :mix], [{:elixir_make, "~> 0.5", [hex: :elixir_make, repo: "hexpm", optional: false]}, {:font_metrics, "~> 0.3", [hex: :font_metrics, repo: "hexpm", optional: false]}], "hexpm"}, "scenic_driver_nerves_rpi": {:hex, :scenic_driver_nerves_rpi, "0.10.0", "6aa51e6f026386b5f09a082e54a59f8fcdb7e838437f8d4bdb8fa26c9c77f228", [:make, :mix], [{:elixir_make, "~> 0.5", [hex: :elixir_make, repo: "hexpm", optional: false]}, {:scenic, "~> 0.10", [hex: :scenic, repo: "hexpm", optional: false]}], "hexpm"},