Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
57742ccd
Commit
57742ccd
authored
Nov 01, 2017
by
Zach Whitten
Committed by
Robby Russell
Nov 01, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update to mix plugin to support Phoenix v1.3.0+ tasks (#6355)
parent
accdcb2f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
_mix
plugins/mix/_mix
+19
-2
No files found.
plugins/mix/_mix
View file @
57742ccd
...
@@ -36,6 +36,8 @@ _1st_arguments=(
...
@@ -36,6 +36,8 @@ _1st_arguments=(
'loadconfig:Loads and persists the given configuration'
'loadconfig:Loads and persists the given configuration'
'local:List local tasks'
'local:List local tasks'
'local.hex:Install hex locally'
'local.hex:Install hex locally'
'local.phoenix:Updates Phoenix locally'
'local.phx:Updates the Phoenix project generator locally'
'local.rebar:Install rebar locally'
'local.rebar:Install rebar locally'
'new:Create a new Elixir project'
'new:Create a new Elixir project'
'phoenix.digest:Digests and compress static files'
'phoenix.digest:Digests and compress static files'
...
@@ -44,9 +46,24 @@ _1st_arguments=(
...
@@ -44,9 +46,24 @@ _1st_arguments=(
'phoenix.gen.json:Generates a controller and model for a JSON based resource'
'phoenix.gen.json:Generates a controller and model for a JSON based resource'
'phoenix.gen.model:Generates an Ecto model'
'phoenix.gen.model:Generates an Ecto model'
'phoenix.gen.secret:Generates a secret'
'phoenix.gen.secret:Generates a secret'
'phoenix.new:Create
a new Phoenix
application'
'phoenix.new:Create
s a new Phoenix v1.2.1
application'
'phoenix.routes:Prints all routes'
'phoenix.routes:Prints all routes'
'phoenix.server:Starts applications and their servers'
'phoenix.server:Starts applications and their servers'
'phx.digest:Digests and compresses static files'
'phx.digest.clean:Removes old versions of static assets.'
'phx.gen.channel:Generates a Phoenix channel'
'phx.gen.context:Generates a context with functions around an Ecto schema'
'phx.gen.embedded:Generates an embedded Ecto schema file'
'phx.gen.html:Generates controller, views, and context for an HTML resource'
'phx.gen.json:Generates controller, views, and context for a JSON resource'
'phx.gen.presence:Generates a Presence tracker'
'phx.gen.schema:Generates an Ecto schema and migration file'
'phx.gen.secret:Generates a secret'
'phx.new:Creates a new Phoenix v1.3.0 application'
'phx.new.ecto:Creates a new Ecto project within an umbrella project'
'phx.new.web:Creates a new Phoenix web project within an umbrella project'
'phx.routes:Prints all routes'
'phx.server:Starts applications and their servers'
'run:Run the given file or expression'
'run:Run the given file or expression'
"test:Run a project's tests"
"test:Run a project's tests"
'--help:Describe available tasks'
'--help:Describe available tasks'
...
@@ -58,7 +75,7 @@ __task_list ()
...
@@ -58,7 +75,7 @@ __task_list ()
local expl
local expl
declare -a tasks
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 phoenix.digest phoenix.gen.channel phoenix.gen.html phoenix.gen.json phoenix.gen.model phoenix.gen.secret phoenix.new phoenix.routes phoenix.server
phx.digest phx.digest.clean phx.gen.channel phx.gen.context phx.gen.embedded phx.gen.html phx.gen.json phx.gen.presence phx.gen.schema phx.gen.secret phx.new phx.new.ecto phx.new.web phx.routes phx.server
run test)
_wanted tasks expl 'help' compadd $tasks
_wanted tasks expl 'help' compadd $tasks
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment