Skip to content

Commit

Permalink
Add rel/config.exs to configure distillery
Browse files Browse the repository at this point in the history
  • Loading branch information
edgurgel committed Oct 12, 2017
1 parent 79ad640 commit e50d5c3
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions rel/config.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# 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,
default_release: :default,
default_environment: Mix.env()


environment :dev do
set dev_mode: true
set include_erts: false
set cookie: :"H`|_.kDAg_~4TVZ!aB/B/S3>E|C6o|~noC_!fV/8F<^>1he.*XI^C(;7fOV1Jh;B"
end

environment :prod do
set include_erts: false
set include_src: false
set cookie: :"xR=}b(ZcHU8M1Lu&642.m{u{O)H]WD>[&&_5t8FW3t5mxy4nw=de~;lEbw*?EFXC"
end

release :poxa do
set version: current_version(:poxa)
set applications: [
:runtime_tools
]
plugin Conform.ReleasePlugin
end

0 comments on commit e50d5c3

Please sign in to comment.