defmodule Treesitter.MixProject do use Mix.Project def project do [ app: :treesitter_elixir, description: "Tree-sitter bindings (nif) for elixir. Currently small subset of the tree-sitter api is supported, but happy to accept merge requests/patches", version: "0.1.0", elixir: "~> 1.18", compilers: [:elixir_make] ++ Mix.compilers(), start_permanent: Mix.env() == :prod, make_targets: ["all"], make_clean: ["clean"], deps: deps(), package: package(), source_url: "https://codeberg.org/edwinvanl/treesitter_elixir" ] end def application do [ extra_applications: [:logger], mod: {TreeSitter.Application, []} ] end defp deps do [ {:elixir_make, "~> 0.8", runtime: false}, {:briefly, "~> 0.5"}, {:ex_doc, ">= 0.0.0", only: :dev, runtime: false} ] end defp package do [ name: "treesitter_elixir", files: ~w(lib .formatter.exs mix.exs README.md LICENSE src Makefile), licenses: ["MIT"], links: %{ "source" => "https://codeberg.org/edwinvanl/treesitter_elixir", "issues" => "https://codeberg.org/edwinvanl/treesitter_elixir/issues" } ] end end