defmodule AshFeistelCipher.MixProject do use Mix.Project def project do [ app: :ash_feistel_cipher, version: "1.1.2", elixir: "~> 1.17", elixirc_paths: elixirc_paths(Mix.env()), consolidate_protocols: Mix.env() not in [:dev, :test], start_permanent: Mix.env() == :prod, deps: deps(), description: "Encrypted integer IDs for Ash resources using Feistel cipher", package: package(), source_url: "https://github.com/devall-org/ash_feistel_cipher", homepage_url: "https://github.com/devall-org/ash_feistel_cipher", docs: [ main: "readme", extras: ["README.md", "UPGRADE.md", "CHANGELOG.md", "usage-rules.md"] ] ] 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 [ extra_applications: [:logger] ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:igniter, "~> 0.6", optional: true}, {:feistel_cipher, "~> 1.1.2"}, {:ash, "~> 3.0"}, {:ash_postgres, "~> 2.0"}, {:spark, "~> 2.0"}, {:sourceror, "~> 1.0", optional: true}, {:ex_doc, "~> 0.29", only: :dev, runtime: false} ] end defp package do [ name: "ash_feistel_cipher", licenses: ["MIT"], maintainers: ["Jechol Lee"], files: [ "lib", "config", ".formatter.exs", "mix.exs", "README.md", "UPGRADE.md", "CHANGELOG.md", "usage-rules.md", "LICENSE" ], links: %{ "GitHub" => "https://github.com/devall-org/ash_feistel_cipher" } ] end end