defmodule Encoding.MixProject do use Mix.Project def project do [ app: :encoding, version: "0.1.0", elixir: "~> 1.12", elixirc_paths: ["lib", "src"], build_embedded: Mix.env == :prod, start_permanent: Mix.env() == :prod, package: package(), description: description(), deps: deps(), name: "Encoding", source_url: "https://gitlab.com/Theopse/encoding.ex" ] 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 [ {:iconv, "~> 1.0.10"}, {: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 description() do "The Encapsulation of iconv" end defp package() do [ # This option is only needed when you don't want to use the OTP application name name: "encoding", # These are the default files included in the package files: ~w(lib .formatter.exs mix.exs README* LICENSE* src), licenses: ["BSD 2-Clause"], links: %{"GitLab" => "https://gitlab.com/Theopse/encoding.ex"} ] end end