Move deps and build to be less weirdly named and to condense placement of all build artifacts

This commit is contained in:
Daniel Flanagan 2020-12-16 17:30:44 -06:00
parent c6938616f7
commit 1958876157
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
2 changed files with 8 additions and 7 deletions

10
.gitignore vendored
View file

@ -1,8 +1,4 @@
/_build/
/cover/
/deps/
/doc/
*.secret.exs
/build
/doc
erl_crash.dump
npm-debug.log
/assets/node_modules/
/config/*.secret.exs

View file

@ -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()
]