This repository has been archived on 2018-07-11. You can view files and clone it, but cannot push or open issues or pull requests.
forum/rel/config.exs

54 lines
1.7 KiB
Elixir

# Import all plugins from `rel/plugins`
# They can then be used by adding `plugin MyPlugin` to
# either an environment, or release definition, where
# `MyPlugin` is the name of the plugin module.
Path.join(["rel", "plugins", "*.exs"])
|> Path.wildcard()
|> Enum.map(&Code.eval_file(&1))
use Mix.Releases.Config,
# This sets the default release built by `mix release`
default_release: :default,
# This sets the default environment used by `mix release`
default_environment: Mix.env()
# For a full list of config options for both releases
# and environments, visit https://hexdocs.pm/distillery/configuration.html
# You may define one or more environments in this file,
# an environment's settings will override those of a release
# when building in that environment, this combination of release
# and environment configuration is called a profile
environment :dev do
# If you are running Phoenix, you should make sure that
# server: true is set and the code reloader is disabled,
# even in dev mode.
# It is recommended that you build with MIX_ENV=prod and pass
# the --env flag to Distillery explicitly if you want to use
# dev mode.
set dev_mode: true
set include_erts: false
set cookie: :"syId2a?^I4@,}pMpVTb&YJvp~mfgl3oW3MN(3qVVz[m>u3tz^@$4kv*41XmY.6,0"
end
environment :prod do
set include_erts: true
set include_src: false
set cookie: :"`SKJ$KS/7GL&d.O||qanMD=R&:MZx:Fwd8Fq]qB0pT3Nqy!nG]</(2Xoz!z]sL>7"
end
# You may define one or more releases in this file.
# If you have not set a default release, or selected one
# when running `mix release`, the first release in the file
# will be used by default
release :forum do
set version: current_version(:forum)
set applications: [
:runtime_tools
]
end