Packages
drab
0.7.3
0.10.5
0.10.4
0.10.3
0.10.2
0.10.1
0.10.0
0.9.3
0.9.2
0.9.1
0.9.0
0.8.3
0.8.2
0.8.1
0.8.0
0.7.7
0.7.6
0.7.5
0.7.4
0.7.3
0.7.2
0.7.1
0.7.0
0.6.3
0.6.2
0.6.1
0.6.0
0.6.0-pre.1
0.5.6
0.5.5
0.5.4
0.5.3
0.5.2
0.5.1
0.5.0
0.4.1
0.4.0
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.6
0.2.5
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
Remote controlled frontend framework for Phoenix.
Current section
Files
Jump to
Current section
Files
mix.exs
defmodule Drab.Mixfile do
use Mix.Project
@version "0.7.3"
def project do
[
app: :drab,
version: @version,
elixir: ">= 1.5.2",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
elixirc_paths: elixirc_paths(Mix.env()),
deps: deps(),
description: description(),
package: package(),
docs: [
main: "Drab",
logo: "priv/static/drab-400.png",
# , filter_prefix: "Drab."
extras: ["README.md", "LICENSE.md", "CHANGELOG.md", "CONTRIBUTING.md"]
],
compilers: [:phoenix, :gettext] ++ Mix.compilers(),
dialyzer: [plt_add_deps: :transitive, plt_add_apps: [:mix, :iex, :ex_unit]]
# compilers: [:phoenix, :gettext] ++ Mix.compilers ++ [:drab]
]
end
def application do
[
mod: {Drab.Supervisor, []},
applications: [:phoenix, :phoenix_pubsub, :phoenix_html, :cowboy, :logger, :deppie]
]
end
defp elixirc_paths(:test), do: ["lib", "test/support"]
defp elixirc_paths(:dev), do: ["lib", "test/support"]
defp elixirc_paths(_), do: ["lib"]
defp deps do
[
{:phoenix, "~> 1.2"},
{:phoenix_html, "~> 2.6"},
{:phoenix_pubsub, "~> 1.0"},
{:phoenix_live_reload, "~> 1.0", only: :dev},
{:gettext, "~> 0.11"},
{:cowboy, "~> 1.0 or ~> 2.2.2 or ~> 2.3"},
{:ex_doc, "~> 0.18", only: :dev, runtime: false},
{:hound, "~> 1.0", only: [:dev, :test]},
{:inch_ex, "~> 0.5", only: [:docs], runtime: false},
{:deppie, "~> 1.0"},
{:floki, "~> 0.20"},
{:dialyxir, "~> 0.5", only: [:dev, :test], runtime: false},
{:jason, "~> 1.0"}
]
end
defp description() do
"""
Plugin to the Phoenix Framework to access the User Interface in the browser directly from the server side.
"""
end
defp package() do
[
name: :drab,
# files: ["lib", "priv", "test", "mix.exs", "README*", "LICENSE*"],
files: ["lib", "priv/templates/drab", "mix.exs", "README*", "LICENSE*", "CHANGELOG*"],
maintainers: ["Tomek Gryszkiewicz"],
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/grych/drab",
"Home" => "https://tg.pl/drab"
}
]
end
end