From 1958876157fd3996be61f79914d7ce60fb33f999 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Wed, 16 Dec 2020 17:30:44 -0600 Subject: [PATCH] Move deps and build to be less weirdly named and to condense placement of all build artifacts --- .gitignore | 10 +++------- mix.exs | 5 +++++ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 085268e..9c40a10 100644 --- a/.gitignore +++ b/.gitignore @@ -1,8 +1,4 @@ -/_build/ -/cover/ -/deps/ -/doc/ +*.secret.exs +/build +/doc erl_crash.dump -npm-debug.log -/assets/node_modules/ -/config/*.secret.exs diff --git a/mix.exs b/mix.exs index 58b171e..a176a46 100644 --- a/mix.exs +++ b/mix.exs @@ -1,6 +1,9 @@ defmodule Lytedev.MixProject do use Mix.Project + @build_path "build" + @deps_path Path.join(@build_path, "deps") + def project(), do: [ app: :lytedev, version: "0.1.0", @@ -9,6 +12,8 @@ defmodule Lytedev.MixProject do config_path: "src/config.exs", test_paths: ["src/test"], start_permanent: true, + build_path: @build_path, + deps_path: @deps_path, deps: deps() ]