defmodule BunEx.MixProject do use Mix.Project @version "0.1.0" def project do [ app: :bun_ex, version: @version, elixir: "~> 1.15", start_permanent: Mix.env() == :prod, deps: deps(), description: "Integrate the Bun runtime into your Elixir projects", package: package(), docs: docs() ] 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 [ {:ex_doc, ">= 0.0.0", 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: "bun_ex", licenses: ["MIT"], links: %{"GitHub" => "https://github.com/glossia/bun_ex"} ] end defp docs() do [ main: "bun_ex", extras: ["README.md"], source_url: "https://github.com/glossia/bun_ex/", source_ref: @version ] end end