defmodule OpenAiClient.MixProject do use Mix.Project def project do [ app: :open_ai_client, description: "OpenAI API client for Elixir", version: "2.0.1", elixir: "~> 1.15", start_permanent: Mix.env() == :prod, aliases: aliases(), deps: deps(), elixirc_paths: elixirc_paths(Mix.env()), docs: [ main: "OpenAiClient", extras: ["README.md"] ], source_url: "https://github.com/fractaltechnologylabs/open_ai_client", homepage_url: "https://thisisartium.com", package: [ licenses: ["MIT"], links: %{ "GitHub" => "https://github.com/fractaltechnologylabs/open_ai_client", "Documentation" => "https://hexdocs.pm/open_ai_client", "Artium" => "https://thisisartium.com" } ] ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger] ] end defp elixirc_paths(:test), do: ["lib", "test/support"] defp elixirc_paths(_), do: ["lib"] # Run "mix help deps" to learn about dependencies. defp deps do [ {:bypass, "~> 2.1", only: :test}, {:credo, "~> 1.7", only: [:dev, :test], runtime: false}, {:dialyxir, "~> 1.0", only: [:dev, :test], runtime: false}, {:doctor, "~> 0.21", only: :dev, runtime: false}, {:ex_break, "~> 0.0"}, {:ex_check, "~> 0.15", only: :dev, runtime: false}, {:ex_doc, "~> 0.30", only: [:dev, :test], runtime: false}, {:faker, "0.17.0", only: :test}, {:jason, "~> 1.2"}, {:knigge, "~> 1.4"}, {:mix_audit, "~> 2.1", only: :dev, runtime: false}, {:mix_test_interactive, "~> 1.2", only: :dev, runtime: false}, {:mox, "~> 1.1", only: :test}, {:req, "~> 0.4"}, {:sobelow, "~> 0.12", only: [:dev, :test], runtime: false}, {:stream_data, "~> 0.6"}, {:typed_struct, "~> 0.3"}, {:uuid, "~> 1.1"}, {:vex, "~> 0.9"} ] end # Aliases are shortcuts or tasks specific to the current project. # For example, to install project dependencies and perform other setup tasks, run: # # $ mix setup # # See the documentation for `Mix` for more info on aliases. defp aliases do [ compile: ["compile --warnings-as-errors"], sobelow: ["sobelow --config"], dialyzer: ["dialyzer --list-unused-filters"], credo: ["credo --strict"], check_formatting: ["format --check-formatted"] ] end end