diff --git a/README.md b/README.md index 2ee5e78..d5154b6 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ ExCmd is an Elixir library to run and communicate with external programs with back-pressure mechanism. It makes use os provided stdio buffer for this. -Communication with external program with [Port](https://hexdocs.pm/elixir/Port.html) is not demand driven. So it is easy to run into memory issues when the size of the data we are writing or reading from the external program is large. ExCmd tries to solve this problem by making better use of os provided stdio buffers and providing demand-driven interface to write and read from external program. It can be used to stream data through an external program. For example, streaming a video through `ffmpeg` to serve a web request. +Communication with external program using [Port](https://hexdocs.pm/elixir/Port.html) is not demand driven. So it is easy to run into memory issues when the size of the data we are writing or reading from the external program is large. ExCmd tries to solve this problem by making better use of os provided stdio buffers and providing demand-driven interface to write and read from external program. It can be used to stream data through an external program. For example, streaming a video through `ffmpeg` to serve a web request. Getting audio out of a video stream is as simple as diff --git a/mix.exs b/mix.exs index aa5da66..97c17a3 100644 --- a/mix.exs +++ b/mix.exs @@ -1,10 +1,13 @@ defmodule ExCmd.MixProject do use Mix.Project + @version "0.6.0" + @scm_url "https://github.com/akash-akya/ex_cmd" + def project do [ app: :ex_cmd, - version: "0.5.1", + version: @version, elixir: "~> 1.7", start_permanent: Mix.env() == :prod, deps: deps(), @@ -15,11 +18,15 @@ defmodule ExCmd.MixProject do description: description(), # Docs - source_url: "https://github.com/akash-akya/ex_cmd", - homepage_url: "https://github.com/akash-akya/ex_cmd", + source_url: @scm_url, + homepage_url: @scm_url, docs: [ main: "readme", - extras: ["README.md"] + source_ref: "v#{@version}", + extras: [ + "README.md", + "LICENSE" + ] ] ] end @@ -31,7 +38,7 @@ defmodule ExCmd.MixProject do end defp description do - "Interact with external programs with back-pressure" + "Interact with external programs with back-pressure mechanism" end defp package do @@ -39,11 +46,10 @@ defmodule ExCmd.MixProject do maintainers: ["Akash Hiremath"], licenses: ["MIT"], files: ~w(lib priv .formatter.exs mix.exs README* LICENSE* go_src), - links: %{GitHub: "https://github.com/akash-akya/ex_cmd"} + links: %{GitHub: @scm_url} ] end - # Run "mix help deps" to learn about dependencies. defp deps do [ {:gen_state_machine, "~> 2.0"}, diff --git a/priv/odu_darwin_amd64 b/priv/odu_darwin_amd64 index fa4b1fc..03e57d0 100755 Binary files a/priv/odu_darwin_amd64 and b/priv/odu_darwin_amd64 differ diff --git a/priv/odu_linux_amd64 b/priv/odu_linux_amd64 index ea27a02..4576bf0 100755 Binary files a/priv/odu_linux_amd64 and b/priv/odu_linux_amd64 differ diff --git a/priv/odu_windows_amd64.exe b/priv/odu_windows_amd64.exe index d2ebd9f..e8acc27 100755 Binary files a/priv/odu_windows_amd64.exe and b/priv/odu_windows_amd64.exe differ