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