summaryrefslogblamecommitdiff
path: root/mix.exs
blob: f07ae101bd16930547dcbcf4c00bb6b312fab0cc (plain) (tree)
1
2
3
4
5
6
7





                        
                       



















                                                        


                                  
                                                   


                                            
                            

                             
                                          
                            
                        
                                          
                                  
                              
                           
                           
                                

                                    
                                             

                              





                                                                                     
                                                                                                                     

                                               


     
defmodule LSG.Mixfile do
  use Mix.Project

  def project do
    [
      app: :lsg,
      version: "0.2.4",
      elixir: "~> 1.4",
      elixirc_paths: elixirc_paths(Mix.env),
      compilers: [:phoenix, :gettext] ++ Mix.compilers,
      start_permanent: Mix.env == :prod,
      deps: deps()
    ]
  end

  def application do
    [
      mod: {LSG.Application, []},
      extra_applications: [:logger, :runtime_tools]
    ]
  end

  defp elixirc_paths(:test), do: ["lib", "test/support"]
  defp elixirc_paths(_),     do: ["lib"]

  defp deps do
    [
      {:phoenix, "~> 1.5.0"},
      {:phoenix_pubsub, "~> 2.0"},
      {:phoenix_html, "~> 3.0"},
      {:phoenix_live_reload, "~> 1.0", only: :dev},
      {:plug_cowboy, "~> 2.0"},
      {:cowlib, "~> 2.9.1", override: true},
      {:plug, "~> 1.7"},
      {:gettext, "~> 0.11"},
      {:httpoison, "~> 1.0"},
      {:jason, "~> 1.0"},
      {:poison, "~> 4.0", override: true},
      {:floki, "~> 0.19.3"},
      {:ecto, "~> 3.4"},
      #{:exirc, github: "hrefhref/exirc"},
      {:exirc, path: "../exirc/"},
      {:distillery, "~> 2.0"},
      {:earmark, "~> 1.2"},
      {:oauther, "~> 1.1"},
      {:extwitter, "~> 0.12.0"},
      {:entropy_string, "~> 1.0.0"},
      {:abacus, "~> 0.3.3"},
      {:ex_chain, github: "eljojo/ex_chain"},
      {:timex, "~> 3.6"},
      {:muontrap, "~> 0.5.1"},
      {:tzdata, "~> 1.0"},
      {:nimble_csv, "~> 0.7.0"},
      {:backoff, git: "https://github.com/ferd/backoff", branch: "master"},
      {:telegram, git: "https://github.com/hrefhref/telegram.git", branch: "master"},
      {:ex_aws, "~> 2.0"},
      {:ex_aws_s3, "~> 2.0"},
      {:gen_magic, git: "https://github.com/hrefhref/gen_magic", commit: "b788ef982fc9b9cf9669b35227bac336415c5a1c"},
      {:liquex, "~> 0.3"},
      {:html_entities, "0.4.0", override: true}
    ]
  end
end