Skip to content

Instantly share code, notes, and snippets.

@HashNuke
Created July 2, 2015 13:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HashNuke/f4a86c947fc3c15ff176 to your computer and use it in GitHub Desktop.
Save HashNuke/f4a86c947fc3c15ff176 to your computer and use it in GitHub Desktop.
defmodule Mix.Tasks.Phoenix.Release do
use Mix.Task
@shortdoc "Creates a release using exrm"
def run(args) do
Application.put_env(:phoenix, :serve_endpoints, true, persistent: true)
Mix.Task.run "release", args
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment