Changeset View
Changeset View
Standalone View
Standalone View
larus/mix.exs
Show All 30 Lines | defmodule Larus.Mixfile do | ||||
# Type `mix help deps` for examples and options. | # Type `mix help deps` for examples and options. | ||||
defp deps do | defp deps do | ||||
[{:phoenix, "~> 1.1.4"}, | [{:phoenix, "~> 1.1.4"}, | ||||
{:postgrex, ">= 0.0.0"}, | {:postgrex, ">= 0.0.0"}, | ||||
{:phoenix_ecto, "~> 2.0"}, | {:phoenix_ecto, "~> 2.0"}, | ||||
{:phoenix_html, "~> 2.4"}, | {:phoenix_html, "~> 2.4"}, | ||||
{:phoenix_live_reload, "~> 1.0", only: :dev}, | {:phoenix_live_reload, "~> 1.0", only: :dev}, | ||||
{:gettext, "~> 0.9"}, | {:gettext, "~> 0.9"}, | ||||
{:dogma, "~> 0.1", only: :dev}, | |||||
{:cowboy, "~> 1.0"}] | {:cowboy, "~> 1.0"}] | ||||
end | end | ||||
# Aliases are shortcut or tasks specific to the current project. | # Aliases are shortcut or tasks specific to the current project. | ||||
# For example, to create, migrate and run the seeds file at once: | # For example, to create, migrate and run the seeds file at once: | ||||
# | # | ||||
# $ mix ecto.setup | # $ mix ecto.setup | ||||
# | # | ||||
# See the documentation for `Mix` for more info on aliases. | # See the documentation for `Mix` for more info on aliases. | ||||
defp aliases do | defp aliases do | ||||
["ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"], | ["ecto.setup": ["ecto.create", "ecto.migrate", "run priv/repo/seeds.exs"], | ||||
"ecto.reset": ["ecto.drop", "ecto.setup"]] | "ecto.reset": ["ecto.drop", "ecto.setup"]] | ||||
end | end | ||||
end | end |