defmodule LibEcto.MixProject do @moduledoc false use Mix.Project @name "lib_ecto" @version "0.3.0" @repo_url "https://github.com/tt67wq/lib-ecto" @description "A library to make Ecto easier to use" def project do [ app: :lib_ecto, version: @version, elixir: "~> 1.15", start_permanent: Mix.env() == :prod, deps: deps(), source_url: @repo_url, name: @name, package: package(), description: @description ] 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 [ {:jason, "~> 1.4"}, {:ecto_sql, "~> 3.11"}, {:ecto_sqlite3, "~> 0.10", only: :test}, {:ex_doc, "~> 0.31", only: :dev, runtime: false}, {:styler, "~> 0.11", only: [:dev, :test], runtime: false}, {:dialyxir, "~> 1.4", only: [:dev], runtime: false}, {:credo, "~> 1.7", only: [:dev, :test], 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 [ licenses: ["MIT"], links: %{ "GitHub" => @repo_url } ] end end