-
Notifications
You must be signed in to change notification settings - Fork 3
/
mix.exs
71 lines (64 loc) · 1.85 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
defmodule Orb.MixProject do
use Mix.Project
@source_url "https://github.com/RoyalIcing/Orb"
def project do
[
app: :orb,
version: "0.1.1",
elixir: "~> 1.15",
start_permanent: Mix.env() == :prod,
deps: deps(),
description: "DSL for WebAssembly",
package: package(),
# Docs
name: "Orb",
docs: docs(),
source_url: @source_url,
homepage_url: "https://useorb.dev/"
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
# {:wasmex, "~> 0.8.3", only: :test},
# {:wasmex,
# git: "https://github.com/tessi/wasmex.git",
# ref: "863cb01aba128420ed7d4ba6b755c2a9c421afef",
# only: :test},
{:orb_wasmtime, "~> 0.1.17", only: :test},
{:jason, "~> 1.0", only: :test},
{:ex_doc, "~> 0.31.2", only: :dev, runtime: false}
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"}
]
end
defp package do
[
name: :orb,
maintainers: ["Patrick George Wyndham Smith"],
licenses: ["BSD-3-Clause"],
links: %{"GitHub" => @source_url}
]
end
defp docs do
[
# The main page in the docs
main: "Orb",
logo: "orb-logo-blue-orange.svg",
extras: [
# {"README.md", title: "Home"},
# {"https://useorb.dev/", title: "Website"},
{"examples/01-intro.livemd", title: "Example: Introduction"},
{"examples/temperature-converter.livemd", title: "Example: Temperature Converter"},
{"examples/mime-type.livemd", title: "Example: Mime Type"},
{"examples/youtube-url-parser.livemd", title: "Example: YouTube URL Parser"}
]
]
end
end