defmodule Drum.MixProject do use Mix.Project def project do [ app: :drum, version: "0.1.0", elixir: "~> 1.19", start_permanent: Mix.env() == :prod, elixirc_paths: elixirc_paths(Mix.env()), deps: deps(), description: "An OTP application for running shell pipelines.", package: package(), docs: docs() ] end defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] # Run "mix help compile.app" to learn about applications. def application do [ mod: {Drum.Application, []}, extra_applications: [:logger, :erlexec] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:erlexec, "~> 2.2"}, {:owl, "~> 0.13"}, {:dotenvy, "~> 0.8"}, {:file_system, "~> 1.1"}, {:glob_ex, "~> 0.1.11"}, {:ex_doc, "~> 0.40.1", 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: ["Apache-2.0"], links: %{ "GitHub" => "https://github.com/jgonet/drum" }, files: ~w(lib mix.exs README.md LICENSE) ] end defp docs do [ main: "readme", extras: ["README.md"], source_url: "https://github.com/jgonet/drum" ] end end