-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Daniil Fedotov
committed
Jan 20, 2017
1 parent
a77e8cb
commit fb69fda
Showing
6 changed files
with
25 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,26 @@ | ||
# MixTaskDepsArchive | ||
# Mix tasks to archive project dependencies | ||
|
||
**TODO: Add description** | ||
This repo contains Mix tasks to create `*.ez` archives for a project dependencies. | ||
|
||
There are three new tasks: | ||
|
||
- `archive.build.deps` - build archives for a project dependencies | ||
- `archive.build.elixir` - build archives with Elixir and Elixir apps (like `mix` or `logger`) | ||
- `archive.build.all` - build dependencies archives and a project archive | ||
|
||
The tasks are intended to use to create no-dependency distributions of Elixir apps, | ||
that can be run from Erlang runtime without installing Elixir and recompiling apps. | ||
|
||
## Installation | ||
|
||
If [available in Hex](https://hex.pm/docs/publish), the package can be installed | ||
by adding `mix_task_deps_archive` to your list of dependencies in `mix.exs`: | ||
The package can be installed by adding `mix_task_archive_deps` | ||
to your list of dependencies in `mix.exs`: | ||
|
||
```elixir | ||
def deps do | ||
[{:mix_task_deps_archive, "~> 0.1.0"}] | ||
[{:mix_task_archive_deps, "~> 0.1.0"}] | ||
end | ||
``` | ||
|
||
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc) | ||
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can | ||
be found at [https://hexdocs.pm/mix_task_deps_archive](https://hexdocs.pm/mix_task_deps_archive). | ||
The docs can be found at [https://hexdocs.pm/mix_task_archive_deps](https://hexdocs.pm/mix_task_archive_deps). | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,6 @@ | |
## | ||
## | ||
|
||
|
||
defmodule Mix.Tasks.Archive.Build.All do | ||
use Mix.Task | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.