Created
December 24, 2019 20:25
-
-
Save philss/54fdae59814f78721e6c8e0edd2e081a to your computer and use it in GitHub Desktop.
Mix project with a flexible config for the Elixir artifacts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule MyApp.MixProject do | |
use Mix.Project | |
def project do | |
[ | |
app: :my_app, | |
version: "0.1.0", | |
elixir: "~> 1.5", | |
elixirc_paths: elixirc_paths(Mix.env()), | |
compilers: [:phoenix, :gettext] ++ Mix.compilers(), | |
start_permanent: Mix.env() == :prod, | |
aliases: aliases(), | |
deps: deps(), | |
deps_path: System.get_env("MIX_DEPS_PATH") || "./deps", | |
releases: [ | |
broker: [ | |
include_executables_for: [:unix] | |
] | |
] | |
] | |
end | |
# .... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment