1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
defmodule DartSass.MixProject do
use Mix.Project
@version "0.1.2"
@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