hexlet-codebattle/codebattle

View on GitHub
services/app/apps/runner/dockers/elixir/mix.exs

Summary

Maintainability
Test Coverage
defmodule Checker.MixProject do
  use Mix.Project

  def project do
    [
      app: :checker,
      version: "0.1.0",
      elixir: "~> 1.13",
      start_permanent: false,
      deps: deps(),
      escript: escript(),
      aliases: aliases(),
      elixirc_paths: ["."],
      elixirc_options: [ignore_module_conflict: true]
    ]
  end

  def application do
    [
      extra_applications: [:ex_unit]
    ]
  end

  defp aliases do
    [
      "run.checker": "run -e 'Checker.run'"
    ]
  end

  defp deps do
    [
      {:jason, "~> 1.4.0"}
      # Add other dependencies as needed
    ]
  end

  defp escript do
    [
      main_module: Checker,
      app: nil
    ]
  end
end