kmx.io/dart_sass/mix.exs

Branch

Michael Crumm 7cf98c318 2022-01-19T15:28:02
Release v0.4.0
defmodule DartSass.MixProject do
  use Mix.Project

  @version "0.4.0"
  @source_url "https://github.com/CargoSense/dart_sass"

  def project do
    [
      app: :dart_sass,
      version: @version,
      elixir: "~> 1.10",
      deps: deps(),
      description: "Mix tasks for installing and invoking sass",
      package: [
        links: %{
          "GitHub" => @source_url,
          "dart-sass" => "https://sass-lang.com/dart-sass"
        },
        licenses: ["MIT"]
      ],
      docs: [
        main: "DartSass",
        source_url: @source_url,
        source_ref: "v#{@version}",
        extras: ["CHANGELOG.md"]
      ],
      xref: [
        exclude: [:httpc, :public_key]
      ],
      aliases: [test: ["sass.install --if-missing", "test"]]
    ]
  end

  def application do
    [
      # inets/ssl may be used by Mix tasks but we should not impose them.
      extra_applications: [:logger],
      mod: {DartSass, []},
      env: [default: []]
    ]
  end

  defp deps do
    [
      {:castore, ">= 0.0.0"},
      {:ex_doc, ">= 0.0.0", only: :docs}
    ]
  end
end
Download