Packages

SWAFQueries is a thin layer on top of Ecto and MyXQL driver that compiles raw SQL files into Elixir functions.

Current section

Files

Jump to
Raw

mix.exs

defmodule SWAFQueries.MixProject do
use Mix.Project
def project do
[
app: :swaf_queries,
version: "0.2.1",
elixir: "~> 1.18",
start_permanent: Mix.env() == :prod,
deps: deps(),
package: package(),
compilers: [:leex] ++ Mix.compilers(),
]
end
defp package do
[
files: ["lib", "mix.exs", "README.md", "src"],
maintainers: ["Maurycy Szmurlo"],
licenses: ["Apache-2.0"],
links: %{"GitLab" => "https://gitlab.com/swaf-simple-web-application-framework/swafqueries.git"},
description: """
SWAFQueries is a thin layer on top of Ecto and MyXQL driver that
compiles raw SQL files into Elixir functions.
""",
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ex_doc, "~> 0.34", only: :dev, runtime: false},
{:credo, "~> 1.7", only: [:dev, :test], runtime: false},
]
end
end