57742ccd726adcd1106c4e0ccee49c3514fa29e5

Author
Zach Whitten <zwhitten+github@gmail.com>
Committer
Robby Russell <robby@planetargon.com>
Date

Message

Update to mix plugin to support Phoenix v1.3.0+ tasks (#6355)

Diff

This diff is truncated to protect this page.

 1diff --git a/plugins/mix/_mix b/plugins/mix/_mix
 2index cfeb4705ee0571f4602f73ae527c70932ef374f8..025572a4da2eb52bc7408bdd54a53b3b41d4b46b 100644
 3--- a/plugins/mix/_mix
 4+++ b/plugins/mix/_mix
 5@@ -36,6 +36,8 @@ _1st_arguments=(
 6     'loadconfig:Loads and persists the given configuration'
 7     'local:List local tasks'
 8     'local.hex:Install hex locally'
 9+    'local.phoenix:Updates Phoenix locally'
10+    'local.phx:Updates the Phoenix project generator locally'
11     'local.rebar:Install rebar locally'
12     'new:Create a new Elixir project'
13     'phoenix.digest:Digests and compress static files'
14@@ -44,9 +46,24 @@ _1st_arguments=(
15     'phoenix.gen.json:Generates a controller and model for a JSON based resource'
16     'phoenix.gen.model:Generates an Ecto model'
17     'phoenix.gen.secret:Generates a secret'
18-    'phoenix.new:Create a new Phoenix application'
19+    'phoenix.new:Creates a new Phoenix v1.2.1 application'
20     'phoenix.routes:Prints all routes'
21     'phoenix.server:Starts applications and their servers'
22+    'phx.digest:Digests and compresses static files'
23+    'phx.digest.clean:Removes old versions of static assets.'
24+    'phx.gen.channel:Generates a Phoenix channel'
25+    'phx.gen.context:Generates a context with functions around an Ecto schema'
26+    'phx.gen.embedded:Generates an embedded Ecto schema file'
27+    'phx.gen.html:Generates controller, views, and context for an HTML resource'
28+    'phx.gen.json:Generates controller, views, and context for a JSON resource'
29+    'phx.gen.presence:Generates a Presence tracker'
30+    'phx.gen.schema:Generates an Ecto schema and migration file'
31+    'phx.gen.secret:Generates a secret'
32+    'phx.new:Creates a new Phoenix v1.3.0 application'
33+    'phx.new.ecto:Creates a new Ecto project within an umbrella project'
34+    'phx.new.web:Creates a new Phoenix web project within an umbrella project'
35+    'phx.routes:Prints all routes'
36+    'phx.server:Starts applications and their servers'
37     'run:Run the given file or expression'
38     "test:Run a project's tests"
39     '--help:Describe available tasks'
40@@ -58,7 +75,7 @@ __task_list ()
41     local expl
42     declare -a tasks
43