diff --git a/README.md b/README.md index c467a66..b27da49 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ A mix task for [EDIP (elixir docker image packager)](https://github.com/asaaki/e - [Install](#install) - [Usage](#usage) +- [Help](#help) - [Options](#options) @@ -27,15 +28,26 @@ In mix.exs: defp deps do [ {:exrm, "~> 0.18"}, - {:edip, "~> 0.2"} + {:edip, "~> 0.3"} ] end -## Usage +Then run: mix deps.get edip && mix deps.compile edip + +Or install as mix archive: + + mix archive.install https://github.com/asaaki/mix-edip/releases/download/v0.3.0/edip-0.3.0.ez + +## Usage + mix edip +## Help + + mix help edip + ## Options # Override the (repository) name of the docker image. @@ -50,15 +62,6 @@ In mix.exs: mix edip --prefix mix edip -p - # Get the tarball from the packaging (true), without even creating the docker image (only). - # The tarballs can be found in the `.edip/tarballs` directory. - mix edip --tarball true|only - mix edip -a true|only - - # Force redownload of EDIP tool - mix edip --force - mix edip -f - # Silence build output of EDIP (will be logged to `.edip.log` instead). mix edip --silent mix edip -s diff --git a/lib/mix/tasks/edip.ex b/lib/mix/tasks/edip.ex index eea7da6..a4ae425 100644 --- a/lib/mix/tasks/edip.ex +++ b/lib/mix/tasks/edip.ex @@ -9,15 +9,26 @@ defmodule Mix.Tasks.Edip do defp deps do [ {:exrm, "~> 0.18"}, - {:edip, "~> 0.2"} + {:edip, "~> 0.3"} ] end - ## Usage + Then run: mix deps.get edip && mix deps.compile edip + + Or install as mix archive: + + mix archive.install https://github.com/asaaki/mix-edip/releases/download/v0.3.0/edip-0.3.0.ez + + ## Usage + mix edip + ## Help + + mix help edip + ## Options # Override the (repository) name of the docker image. diff --git a/mix.exs b/mix.exs index 1f8a110..61d62d7 100644 --- a/mix.exs +++ b/mix.exs @@ -7,7 +7,7 @@ defmodule Edip.Mixfile do [ app: :edip, name: "edip", - version: "0.2.3", + version: "0.3.0", elixir: "~> 1.0", description: description, docs: &docs/0,