Skip to content

Commit 5fcb419

Browse files
Update mix.exs for release
1 parent 80eebb3 commit 5fcb419

File tree

3 files changed

+44
-8
lines changed

3 files changed

+44
-8
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# OLED Scenic Driver
22

3-
This driver makes OLED compatible with [Scenic](https://github.com/boydm/scenic) thanks to [rpi_fb_capture](https://github.com/fhunleth/rpi_fb_capture).
3+
This library provides a Scenic driver implementation for [OLED](https://github.com/pappersverk/oled) compatible with [Scenic](https://github.com/boydm/scenic) thanks to [rpi_fb_capture](https://github.com/fhunleth/rpi_fb_capture).
44

55
## Setup
66

@@ -9,7 +9,6 @@ This driver makes OLED compatible with [Scenic](https://github.com/boydm/scenic)
99
```elixir
1010
def deps do
1111
[
12-
{:oled, "~> 0.3.0"},
1312
{:scenic_driver_oled, "~> 0.1.0"}
1413
]
1514
end
@@ -45,7 +44,7 @@ config :my_app, :viewport, %{
4544
```
4645

4746

48-
... or the display module if you have one (Check the Basic Setup on OLED):
47+
... or the display module if you have one (Check the [Basic Setup](https://github.com/pappersverk/oled#basic-setup) on OLED):
4948

5049
```elixir
5150
config :my_app, :viewport, %{

mix.exs

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
11
defmodule ScenicDriverOled.MixProject do
22
use Mix.Project
33

4+
@version "0.1.0"
5+
@rpi_targets [:rpi, :rpi0, :rpi2, :rpi3, :rpi3a, :rpi4]
6+
47
def project do
58
[
69
app: :scenic_driver_oled,
7-
version: "0.1.0",
10+
version: @version,
811
elixir: "~> 1.7",
912
start_permanent: Mix.env() == :prod,
10-
deps: deps()
13+
deps: deps(),
14+
docs: docs(),
15+
package: package(),
16+
source_url: "https://github.com/pappersverk/scenic_driver_oled"
1117
]
1218
end
1319

@@ -18,13 +24,39 @@ defmodule ScenicDriverOled.MixProject do
1824
]
1925
end
2026

27+
defp package do
28+
%{
29+
files: ["lib", "mix.exs", "README.md"],
30+
maintainers: [
31+
"Gabriel Roldan"
32+
],
33+
licenses: ["Apache License 2.0"],
34+
links: %{
35+
"GitHub" => "https://github.com/pappersverk/scenic_driver_oled"
36+
}
37+
}
38+
end
39+
40+
defp docs do
41+
[
42+
main: "readme",
43+
source_ref: "v#{@version}",
44+
source_url: "https://github.com/pappersverk/scenic_driver_oled",
45+
extras: [
46+
"README.md"
47+
]
48+
]
49+
end
50+
2151
# Run "mix help deps" to learn about dependencies.
2252
defp deps do
2353
[
2454
{:scenic, "~> 0.10"},
25-
{:scenic_driver_nerves_rpi, "~> 0.10", targets: @all_targets},
55+
{:scenic_driver_nerves_rpi, "~> 0.10", targets: @rpi_targets},
2656
{:rpi_fb_capture, "~> 0.3.0"},
27-
{:oled, github: "pappersverk/oled", branch: "master"}
57+
{:oled, "~> 0.3"},
58+
{:ex_doc, "~> 0.19", only: :dev, runtime: false},
59+
{:earmark, "~> 1.3", only: :dev, runtime: false},
2860
]
2961
end
3062
end

mix.lock

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,15 @@
22
"circuits_gpio": {:hex, :circuits_gpio, "0.4.3", "1a53dff1eaeefb9f67f4ebc2c1852b603683eedaa6053bed51c038dd64b978bb", [:make, :mix], [{:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm"},
33
"circuits_i2c": {:hex, :circuits_i2c, "0.3.5", "43e043d7efc3aead364061f8a7ed627f81ff7cef52bfa47cb629d8a68ca56a9f", [:make, :mix], [{:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm"},
44
"circuits_spi": {:hex, :circuits_spi, "0.1.4", "b64161e0a25837bdb3301fbc5754d52278a916b7a549065fba4dc107395a930e", [:make, :mix], [{:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm"},
5+
"earmark": {:hex, :earmark, "1.4.3", "364ca2e9710f6bff494117dbbd53880d84bebb692dafc3a78eb50aa3183f2bfd", [:mix], [], "hexpm"},
56
"elixir_make": {:hex, :elixir_make, "0.6.0", "38349f3e29aff4864352084fc736fa7fa0f2995a819a737554f7ebd28b85aaab", [:mix], [], "hexpm"},
7+
"ex_doc": {:hex, :ex_doc, "0.21.2", "caca5bc28ed7b3bdc0b662f8afe2bee1eedb5c3cf7b322feeeb7c6ebbde089d6", [:mix], [{:earmark, "~> 1.3.3 or ~> 1.4", [hex: :earmark, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.14", [hex: :makeup_elixir, repo: "hexpm", optional: false]}], "hexpm"},
68
"font_metrics": {:hex, :font_metrics, "0.3.1", "025ff9957040eb4d6430c306a4445bad5d9f43ec24448c1647df7cb63b5dd88c", [:mix], [{:msgpax, "~> 2.2", [hex: :msgpax, repo: "hexpm", optional: false]}], "hexpm"},
9+
"makeup": {:hex, :makeup, "1.0.0", "671df94cf5a594b739ce03b0d0316aa64312cee2574b6a44becb83cd90fb05dc", [:mix], [{:nimble_parsec, "~> 0.5.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm"},
10+
"makeup_elixir": {:hex, :makeup_elixir, "0.14.0", "cf8b7c66ad1cff4c14679698d532f0b5d45a3968ffbcbfd590339cb57742f1ae", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm"},
711
"msgpax": {:hex, :msgpax, "2.2.4", "7b3790ef684089076b63c0f08c2f4b079c6311daeb006b69e4ed2bf67518291e", [:mix], [{:plug, "~> 1.0", [hex: :plug, repo: "hexpm", optional: true]}], "hexpm"},
8-
"oled": {:git, "https://github.com/pappersverk/oled.git", "3c3dce2a512b7681f3406f927306723fea2e9203", [branch: "master"]},
12+
"nimble_parsec": {:hex, :nimble_parsec, "0.5.2", "1d71150d5293d703a9c38d4329da57d3935faed2031d64bc19e77b654ef2d177", [:mix], [], "hexpm"},
13+
"oled": {:hex, :oled, "0.3.1", "0c76994bdce9bd6e82e2fa838e1e337486c9a1d5256b2622dd70f335579d9ae2", [:mix], [{:circuits_gpio, "~> 0.1", [hex: :circuits_gpio, repo: "hexpm", optional: false]}, {:circuits_i2c, "~> 0.1", [hex: :circuits_i2c, repo: "hexpm", optional: false]}, {:circuits_spi, "~> 0.1", [hex: :circuits_spi, repo: "hexpm", optional: false]}], "hexpm"},
914
"rpi_fb_capture": {:hex, :rpi_fb_capture, "0.3.0", "28ffa73d0bb7570f0eaffd77139ed473831778ddac8e964bed9779eabb70b16d", [:make, :mix], [{:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}], "hexpm"},
1015
"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"},
1116
"scenic_driver_nerves_rpi": {:hex, :scenic_driver_nerves_rpi, "0.10.1", "1479d24b9e91e989eef28d6bc6be6cb864e7a60cfb831bef53ead6a37b1502ac", [:make, :mix], [{:elixir_make, "~> 0.6", [hex: :elixir_make, repo: "hexpm", optional: false]}, {:scenic, "~> 0.10", [hex: :scenic, repo: "hexpm", optional: false]}], "hexpm"},

0 commit comments

Comments
 (0)