defmodule AshReqOpt.MixProject do use Mix.Project def project do [ app: :ash_req_opt, version: "0.1.0", elixir: "~> 1.17", consolidate_protocols: Mix.env() not in [:dev, :test], start_permanent: Mix.env() == :prod, deps: deps(), description: "A shortcut DSL for allow_nil? of attributes and relationships", package: package(), source_url: "https://github.com/devall-org/ash_req_opt", homepage_url: "https://github.com/devall-org/ash_req_opt", docs: [ main: "readme", extras: ["README.md"] ] ] 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 [ {:ash, ">= 0.0.0"}, {:ex_doc, "~> 0.29", 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: "ash_req_opt", licenses: ["MIT"], links: %{ "GitHub" => "https://github.com/devall-org/ash_req_opt" } ] end end