defmodule Captcha.Mixfile do use Mix.Project def project do [ app: :captcha_c, version: "0.1.2", elixir: "~> 1.12", start_permanent: Mix.env() == :prod, compilers: [:elixir_make] ++ Mix.compilers(), description: description(), aliases: aliases(), package: package(), deps: deps(), elixirc_options: [ warnings_as_errors: true ] ] end # Configuration for the OTP application # # Type "mix help compile.app" for more information def application do [extra_applications: [:logger]] end # Dependencies can be Hex packages: # # {:mydep, "~> 0.3.0"} # # Or git/path repositories: # # {:mydep, git: "https://github.com/p-lang/mydep.git", tag: "0.1.0"} # # Type "mix help deps" for more examples and options defp deps do [ {:ex_doc, "~> 0.35", only: :dev, runtime: false}, {:elixir_make, "~> 0.9", runtime: false} ] end defp aliases do [] end defp description do """ This is a Elixir lib for generating captcha. No dependencies. It drawing captcha image with C code. No ImageMagick, No RMagick. This version includes critical production reliability improvements that fix intermittent empty image generation in production environments. """ end defp package do [ name: :captcha_c, files: [ "lib", "mix.exs", "README*", "LICENSE*", "src", "Makefile" ], maintainers: ["ghbutton"], licenses: ["MIT"], links: %{ "GitHub" => "https://github.com/ghbutton/elixir-captcha", "Docs" => "https://github.com/ghbutton/elixir-captcha" } ] end end