From 46e1d02f6b649782d09c082cd99212253dde85e2 Mon Sep 17 00:00:00 2001 From: Alessandro Bellemo Date: Tue, 12 Sep 2017 17:38:53 +0200 Subject: [PATCH] Update Mix plugin to Phoenix 1.3 Version 1.3 of the Pheonix Framework introduces changes to the mix tasks used by the framework. In particular all tasks starting with "phoenix." have been renamed to "phx.". See http://phoenixframework.org/blog/phoenix-1-3-0-released for further information about the 1.3.0 release. --- plugins/mix/_mix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/plugins/mix/_mix b/plugins/mix/_mix index cfeb4705e..930d9b19a 100644 --- a/plugins/mix/_mix +++ b/plugins/mix/_mix @@ -38,15 +38,15 @@ _1st_arguments=( 'local.hex:Install hex locally' 'local.rebar:Install rebar locally' 'new:Create a new Elixir project' - 'phoenix.digest:Digests and compress static files' - 'phoenix.gen.channel:Generates a Phoenix channel' - 'phoenix.gen.html:Generates controller, model and views for an HTML based resource' - 'phoenix.gen.json:Generates a controller and model for a JSON based resource' - 'phoenix.gen.model:Generates an Ecto model' - 'phoenix.gen.secret:Generates a secret' - 'phoenix.new:Create a new Phoenix application' - 'phoenix.routes:Prints all routes' - 'phoenix.server:Starts applications and their servers' + 'phx.digest:Digests and compress static files' + 'phx.gen.channel:Generates a Phoenix channel' + 'phx.gen.html:Generates controller, model and views for an HTML based resource' + 'phx.gen.json:Generates a controller and model for a JSON based resource' + 'phx.gen.model:Generates an Ecto model' + 'phx.gen.secret:Generates a secret' + 'phx.new:Create a new Phoenix application' + 'phx.routes:Prints all routes' + 'phx.server:Starts applications and their servers' 'run:Run the given file or expression' "test:Run a project's tests" '--help:Describe available tasks' @@ -58,7 +58,7 @@ __task_list () local expl declare -a tasks - tasks=(app.start archive archive.build archive.install archive.uninstall clean cmd compile compile.protocols deps deps.clean deps.compile deps.get deps.unlock deps.update do escript.build help hex hex.config hex.docs hex.info hex.key hex.outdated hex.owner hex.publish hex.search hex.user loadconfig local local.hex local.rebar new phoenix.digest phoenix.gen.channel phoenix.gen.html phoenix.gen.json phoenix.gen.model phoenix.gen.secret phoenix.new phoenix.routes phoenix.server run test) + tasks=(app.start archive archive.build archive.install archive.uninstall clean cmd compile compile.protocols deps deps.clean deps.compile deps.get deps.unlock deps.update do escript.build help hex hex.config hex.docs hex.info hex.key hex.outdated hex.owner hex.publish hex.search hex.user loadconfig local local.hex local.rebar new phx.digest phx.gen.channel phx.gen.html phx.gen.json phx.gen.model phx.gen.secret phx.new phx.routes phx.server run test) _wanted tasks expl 'help' compadd $tasks }