Packages

Read and query a git codebase - from disc or an in-memory cache.

Current section

Files

Jump to
source mix.exs
Raw

mix.exs

defmodule Source.MixProject do
  use Mix.Project

  def project do
    [
      app: :source,
      description: "Read and query a git codebase - from disc or an in-memory cache.",

      version: "0.1.4",
      elixir: "~> 1.20",
      start_permanent: Mix.env() == :prod,
      deps: deps(),
      package: [
        licenses: [ "Unlicense" ],
        homepage_url: "https://operand.online/gram/source",
        links: %{
          home: "https://operand.online/gram/source",
        },
      ],
    ]
  end

  # Run "mix help compile.app" to learn about applications.
  def application do
    [
      extra_applications: [:logger, :yaml_front_matter]
    ]
  end

  defp deps do
    [
      {:git_cli, "~> 0.3"},
      {:yaml_front_matter, "~> 1.0"},

      {:ex_doc, "~> 0.14", only: :dev, runtime: false},
      {:ex_unit_notifier, "~> 1.3", only: :test},
      {:mix_test_watch, "~> 1.0", only: [:dev, :test], runtime: false},
      {:flow_assertions, "~> 0.7", only: :test},
    ]
  end
end