can't resist
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

59 lines
1.5 KiB

defmodule Tomie.MixProject do
use Mix.Project
def project do
app: :tomie,
version: "0.1.0",
build_path: "../../_build",
config_path: "../../config/config.exs",
deps_path: "../../deps",
lockfile: "../../mix.lock",
elixir: "~> 1.5",
elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod,
aliases: aliases(),
deps: deps()
# Configuration for the OTP application.
# Type `mix help` for more information.
def application do
mod: {Tomie.Application, []},
extra_applications: [:logger, :runtime_tools]
# Specifies which paths to compile per environment.
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
# Specifies your project dependencies.
# Type `mix help deps` for examples and options.
defp deps do
{:ecto_sql, "~> 3.1"},
{:jason, "~> 1.0"},
{:pow, "~> 1.0.19"},
{:db, in_umbrella: true}
# Aliases are shortcuts or tasks specific to the current project.
# For example, to create, migrate and run the seeds file at once:
# $ mix ecto.setup
# See the documentation for `Mix` for more info on aliases.
defp aliases do
"ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"],
"ecto.reset": ["ecto.drop", "ecto.setup"],
test: ["ecto.create --quiet", "ecto.migrate", "test"]