From 11a1999dcaebf4ba3d7d2d09254820100bd3d5b2 Mon Sep 17 00:00:00 2001 From: Anne-Gwenn Kettunen Date: Sat, 28 Feb 2015 19:02:42 +0100 Subject: [PATCH] Update mix options to Elixir v1.0.3 --- plugins/mix/_mix | 57 +++++++++++++++++++++++++++++------------------- 1 file changed, 35 insertions(+), 22 deletions(-) diff --git a/plugins/mix/_mix b/plugins/mix/_mix index b7c982e0a..04b33742c 100644 --- a/plugins/mix/_mix +++ b/plugins/mix/_mix @@ -5,28 +5,41 @@ local -a _1st_arguments _1st_arguments=( - 'archive:Archive this project into a .ez file' - 'clean:Clean generated application files' - 'compile:Compile source files' - 'deps:List dependencies and their status' - "deps.clean:Remove dependencies' files" - 'deps.compile:Compile dependencies' - 'deps.get:Get all out of date dependencies' - 'deps.unlock:Unlock the given dependencies' - 'deps.update:Update dependencies' - 'do:Executes the commands separated by comma' - 'escriptize:Generates an escript for the project' - 'help:Print help information for tasks' - 'local:List local tasks' - 'local.install:Install a task or an archive locally' - 'local.rebar:Install rebar locally' - 'local.uninstall:Uninstall local tasks or archives' - 'local.hex:Install Hex locally' - 'new:Creates a new Elixir project' - 'run:Run the given file or expression' - "test:Run a project's tests" - '--help:Describe available tasks' - '--version:Prints the Elixir version information' +mix # Run the default task (current: mix run) +mix archive # List all archives +mix archive.build # Archive this project into a .ez file +mix archive.install # Install an archive locally +mix archive.uninstall # Uninstall archives +mix clean # Delete generated application files +mix cmd # Executes the given command +mix compile # Compile source files +mix compile.protocols # Consolidates all protocols in all paths +mix deps # List dependencies and their status +mix deps.clean # Remove the given dependencies' files +mix deps.compile # Compile dependencies +mix deps.get # Get all out of date dependencies +mix deps.unlock # Unlock the given dependencies +mix deps.update # Update the given dependencies +mix do # Executes the tasks separated by comma +mix escript.build # Builds an escript for the project +mix help # Print help information for tasks +mix hex.config # Read or update hex config +mix hex.docs # Publish docs for package +mix hex.info # Print hex information +mix hex.key # Hex API key tasks +mix hex.owner # Hex package ownership tasks +mix hex.publish # Publish a new package version +mix hex.search # Search for package names +mix hex.user # Hex user tasks +mix loadconfig # Loads and persists the given configuration +mix local # List local tasks +mix local.hex # Install hex locally +mix local.rebar # Install rebar locally +mix new # Create a new Elixir project +mix run # Run the given file or expression +mix test # Run a project's tests +iex -S mix # Start IEx and run the default task + ) __task_list ()