Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Turxo.MixProject do
use Mix.Project
@version "0.1.0"
@source "https://github.com/Benjamin-Philip/turxo"
def project do
[
app: :turxo,
version: @version,
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "Turxo",
description: "Elixir driver for the Turso database",
source_url: @source,
homepage_url: @source,
docs: &docs/0,
package: package()
]
end
defp docs do
[
main: "readme",
extras: ["README.md", "CHANGELOG.md", "LICENSE"],
source_ref: "v#{@version}"
]
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
[
# {:dep_from_hexpm, "~> 0.3.0"},
# {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"},
# {:sibling_app_in_umbrella, in_umbrella: true}
{:rustler, "~> 0.38.0"},
{:ex_doc, "~> 0.34", only: :dev, runtime: false, warn_if_outdated: true}
]
end
defp package() do
[
name: "turxo",
files: ~w(lib native .formatter.exs mix.exs README.md LICENSE
CHANGELOG.md),
licenses: ["MIT"],
links: %{"GitHub" => @source},
maintainers: ["Benjamin Philip"]
]
end
end