defmodule Virtfs.MixProject do use Mix.Project @github_url "https://github.com/mindreframer/virtfs" @version "0.1.1" @description "Virtfs allows mock-FS operations, that can be applied on a real FS folder" def project do [ app: :virtfs, source_url: @github_url, version: @version, description: @description, elixir: "~> 1.14", test_paths: ["test", "lib"], test_pattern: "*_test.exs", start_permanent: Mix.env() == :prod, deps: deps(), package: package() ] end # Run "mix help compile.app" to learn about applications. def application do [ extra_applications: [:logger], mod: {Virtfs.Application, []} ] end defp package do [ files: ~w(lib mix.exs README* CHANGELOG*), licenses: ["MIT"], links: %{ "GitHub" => @github_url, "CHANGELOG" => "https://github.com/mindreframer/virtfs/blob/main/CHANGELOG.md" } ] end # Run "mix help deps" to learn about dependencies. defp deps do [ {:typed_struct, "~> 0.3.0"}, {:ex_doc, "~> 0.29", only: :dev, runtime: false}, {:mneme, "~> 0.2.6", only: [:test]}, {:test_iex, github: "mindreframer/test_iex", only: [:test]} ] end end