Skip to content

Instantly share code, notes, and snippets.

@thegrubbsian
Created August 4, 2014 01:23
Show Gist options
  • Select an option

  • Save thegrubbsian/077ba349182082291257 to your computer and use it in GitHub Desktop.

Select an option

Save thegrubbsian/077ba349182082291257 to your computer and use it in GitHub Desktop.

Revisions

  1. thegrubbsian created this gist Aug 4, 2014.
    14 changes: 14 additions & 0 deletions console.output
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    tasks> mix compile
    Unchecked dependencies for environment dev:
    * cowboy (package)
    the dependency cowboy in mix.exs is overriding a child dependency:

    > In mix.exs:
    {:cowboy, "~> 1.0.0", [hex_app: :cowboy]}

    > In deps/phoenix/mix.exs:
    {:cowboy, "~> 0.10.0", [git: "git://github.com/extend/cowboy.git", optional: true]}

    Ensure they match or specify one of the above in your Tasks.Mixfile deps and set `override: true`
    ** (Mix) Can't continue due to errors on dependencies
    tasks>
    29 changes: 29 additions & 0 deletions mix.exs
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,29 @@
    defmodule Tasks.Mixfile do
    use Mix.Project

    def project do
    [ app: :tasks,
    version: "0.0.1",
    elixir: "~> 0.15.0",
    elixirc_paths: ["lib", "web"],
    deps: deps ]
    end

    def application do
    [
    mod: { Tasks, [] },
    applications: [:phoenix, :postgrex, :ecto]
    ]
    end

    defp deps do
    [
    {:ecto, "~> 0.2.3"},
    {:jsex, "~> 2.0.0"},
    {:cowboy, "~> 1.0.0"},
    {:phoenix, github: "phoenixframework/phoenix"},
    {:phoenix_haml, "~> 0.0.2"},
    {:postgrex, "~> 0.5.4"}
    ]
    end
    end