Skip to content

Instantly share code, notes, and snippets.

@zedtux
Created November 24, 2017 14:27
Show Gist options
  • Save zedtux/f68c9b86776aa2c2d86a0c9d4d527d59 to your computer and use it in GitHub Desktop.
Save zedtux/f68c9b86776aa2c2d86a0c9d4d527d59 to your computer and use it in GitHub Desktop.
Extract of the mix.exs file setting the deps_path attribute
defmodule Hello.Mixfile do
use Mix.Project
def project do
[
app: :hello,
version: "0.0.1",
elixir: "~> 1.4",
elixirc_paths: elixirc_paths(Mix.env),
compilers: [:phoenix, :gettext] ++ Mix.compilers,
start_permanent: Mix.env == :prod,
aliases: aliases(),
deps: deps(),
deps_path: "/deps" # <= This will move the deps folder to the root.
]
end
...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment