defmodule VatchexGreece.MixProject do use Mix.Project def project do [ app: :vatchex_greece, version: "0.5.2", elixir: "~> 1.14", start_permanent: Mix.env() == :prod, description: description(), package: package(), deps: deps(), # Docs name: "VatchexGreece", source_url: "https://github.com/waseigo/vatchex_greece", homepage_url: "https://github.com/waseigo/vatchex_greece", docs: [ # The main page in the docs main: "VatchexGreece", logo: "./logo.png", extras: ["README.md"] ] ] end defp description do """ An Elixir library to easily pull company information from the SOAP web service of the Greek General Secretariat of Information Systems for Public Administration (GSIS) using the VAT ID (Αριθμός Φορολογικού Μητρώου, abbreviated as "ΑΦΜ" or "Α.Φ.Μ."). """ end defp package do [ files: ["lib", "mix.exs", "README*", "LICENSE*"], maintainers: ["Isaak Tsalicoglou"], licenses: ["Apache-2.0"], links: %{"GitHub" => "https://github.com/waseigo/vatchex_greece"} ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger, :eex, :soap] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ # {:dep_from_hexpm, "~> 0.3.0"}, # added for parsing SOAP response {:soap, "~> 1.0"}, {:credo, "~> 1.6", only: [:dev, :test], runtime: false}, {:ex_doc, "~> 0.27", only: :dev, runtime: false} ] end end