defmodule Git2.MixProject do use Mix.Project def project do [ app: :git2_nif, package: package(), description: "NIF bindings for libgit2 (WIP prerelease)", version: "0.1.0", elixir: "~> 1.19", start_permanent: Mix.env() == :prod, deps: deps() ] end defp package do [ files: ~w(lib native .formatter.exs mix.exs README.md LICENSE NOTICE CHANGELOG.md Cargo.*), licenses: ["Apache-2.0"], links: %{"Merge Base" => "https://merge-base.com/"} ] 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 [ {:typed_struct, "~> 0.3.0"}, # non-runtime deps below {:credo, "~> 1.7", only: [:dev, :test], runtime: false}, {:dialyxir, "~> 1.4", only: [:dev, :test], runtime: false}, {:ex_doc, "~> 0.40", only: [:dev, :test], runtime: false}, {:rustler, "~> 0.37.3", 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 end