fix: Actually use version number in mix.exs

This commit is contained in:
Robert Prehn 2021-03-19 15:37:17 -05:00
parent 25620a135d
commit 070b98775b
4 changed files with 4 additions and 2 deletions

View file

@ -7,6 +7,7 @@ defmodule Legendary.Admin.MixProject do
[ [
app: :admin, app: :admin,
version: "0.1.0", version: "0.1.0",
version: @version,
build_path: "../../_build", build_path: "../../_build",
config_path: "../../config/config.exs", config_path: "../../config/config.exs",
deps_path: "../../deps", deps_path: "../../deps",

View file

@ -6,7 +6,7 @@ defmodule Legendary.Content.MixProject do
def project do def project do
[ [
app: :content, app: :content,
version: "0.1.0", version: @version,
build_path: "../../_build", build_path: "../../_build",
config_path: "../../config/config.exs", config_path: "../../config/config.exs",
deps_path: "../../deps", deps_path: "../../deps",

View file

@ -6,7 +6,7 @@ defmodule Legendary.Core.MixProject do
def project do def project do
[ [
app: :core, app: :core,
version: "0.1.0", version: @version,
build_path: "../../_build", build_path: "../../_build",
config_path: "../../config/config.exs", config_path: "../../config/config.exs",
deps_path: "../../deps", deps_path: "../../deps",

View file

@ -6,6 +6,7 @@ defmodule Legendary.Mixfile do
def project do def project do
[ [
name: "Legendary", name: "Legendary",
version: @version,
apps_path: "apps", apps_path: "apps",
build_embedded: Mix.env() == :prod, build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod, start_permanent: Mix.env() == :prod,