From 33a7ab750596c6f367e0ba3a1b4104c80e66af90 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 28 Dec 2020 09:34:03 -0600 Subject: [PATCH] Release configuration --- mix.exs | 5 +++-- src/{ => config}/config.exs | 0 src/{ => config}/release.exs | 0 3 files changed, 3 insertions(+), 2 deletions(-) rename src/{ => config}/config.exs (100%) rename src/{ => config}/release.exs (100%) diff --git a/mix.exs b/mix.exs index c93de77..fbc1ad4 100644 --- a/mix.exs +++ b/mix.exs @@ -2,7 +2,8 @@ defmodule Lytedev.MixProject do use Mix.Project @src_path "src" - @config_path Path.join(@src_path, "config.exs") + @config_dir_path Path.join(@src_path, "config") + @config_path Path.join(@config_dir_path, "config.exs") @test_path Path.join(@src_path, "test") @build_path "build" @deps_path Path.join(@build_path, "deps") @@ -47,7 +48,7 @@ defmodule Lytedev.MixProject do rel_templates_path: Path.join(@src_path, "rel"), # overlays: ["src/static"], steps: [:assemble], - runtime_config_path: Path.join(@src_path, "release.exs"), + runtime_config_path: Path.join(@config_dir_path, "release.exs"), ], ] end diff --git a/src/config.exs b/src/config/config.exs similarity index 100% rename from src/config.exs rename to src/config/config.exs diff --git a/src/release.exs b/src/config/release.exs similarity index 100% rename from src/release.exs rename to src/config/release.exs