defmodule LibEcto.MixProject do use Mix.Project @name "lib_ecto" @version "0.2.2" @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.14", 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.10"}, {:ecto_sqlite3, "~> 0.10", only: :test}, {: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 [ licenses: ["MIT"], links: %{ "GitHub" => @repo_url } ] end end