Skip to content

Commit

Permalink
Introduce Archive.Build.All.List command
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniil Fedotov committed Jan 27, 2017
1 parent eaa1c26 commit ef56753
Show file tree
Hide file tree
Showing 17 changed files with 388 additions and 55 deletions.
3 changes: 2 additions & 1 deletion doc/.build
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ fonts/icomoon.eot
fonts/icomoon.svg
fonts/icomoon.ttf
fonts/icomoon.woff
dist/sidebar_items-f55dfa393f.js
dist/sidebar_items-62a83da759.js
api-reference.html
index.html
404.html
Mix.Archive.Build.Helpers.html
Mix.Tasks.Archive.Build.All.html
Mix.Tasks.Archive.Build.All.List.html
Mix.Tasks.Archive.Build.Deps.html
Mix.Tasks.Archive.Build.Elixir.html
8 changes: 3 additions & 5 deletions doc/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="ExDoc v0.14.5">
<title>404 – MixTaskArchiveDeps v0.1.0</title>
<title>404 – MixTaskArchiveDeps v0.2.0</title>
<link rel="stylesheet" href="dist/app-a07cea761b.css" />

<link rel="canonical" href="https://hexdocs.pm/mix_task_archive_deps/404.html" />

<script src="dist/sidebar_items-f55dfa393f.js"></script>
<script src="dist/sidebar_items-62a83da759.js"></script>
</head>
<body data-type="extras">
<script>if(localStorage.getItem('night-mode')) document.body.className += ' night-mode';</script>
Expand All @@ -28,7 +26,7 @@ <h1 class="sidebar-projectName">
MixTaskArchiveDeps
</h1>
<h2 class="sidebar-projectVersion">
v0.1.0
v0.2.0
</h2>
</div>

Expand Down
10 changes: 4 additions & 6 deletions doc/Mix.Archive.Build.Helpers.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="ExDoc v0.14.5">
<title>Mix.Archive.Build.Helpers – MixTaskArchiveDeps v0.1.0</title>
<title>Mix.Archive.Build.Helpers – MixTaskArchiveDeps v0.2.0</title>
<link rel="stylesheet" href="dist/app-a07cea761b.css" />

<link rel="canonical" href="https://hexdocs.pm/mix_task_archive_deps/Mix.Archive.Build.Helpers.html" />

<script src="dist/sidebar_items-f55dfa393f.js"></script>
<script src="dist/sidebar_items-62a83da759.js"></script>
</head>
<body data-type="modules">
<script>if(localStorage.getItem('night-mode')) document.body.className += ' night-mode';</script>
Expand All @@ -28,7 +26,7 @@ <h1 class="sidebar-projectName">
MixTaskArchiveDeps
</h1>
<h2 class="sidebar-projectVersion">
v0.1.0
v0.2.0
</h2>
</div>

Expand Down Expand Up @@ -60,7 +58,7 @@ <h2 class="sidebar-projectVersion">


<h1>
<small class="visible-xs">MixTaskArchiveDeps v0.1.0</small>
<small class="visible-xs">MixTaskArchiveDeps v0.2.0</small>
Mix.Archive.Build.Helpers


Expand Down
194 changes: 194 additions & 0 deletions doc/Mix.Tasks.Archive.Build.All.List.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,194 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="ExDoc v0.14.5">
<title>Mix.Tasks.Archive.Build.All.List – MixTaskArchiveDeps v0.2.0</title>
<link rel="stylesheet" href="dist/app-a07cea761b.css" />

<script src="dist/sidebar_items-62a83da759.js"></script>
</head>
<body data-type="modules">
<script>if(localStorage.getItem('night-mode')) document.body.className += ' night-mode';</script>

<div class="main">
<button class="sidebar-toggle">
<i class="icon-menu"></i>
</button>
<section class="sidebar">


<a href="api-reference.html" class="sidebar-projectLink">
<div class="sidebar-projectDetails">
<h1 class="sidebar-projectName">
MixTaskArchiveDeps
</h1>
<h2 class="sidebar-projectVersion">
v0.2.0
</h2>
</div>

</a>

<div class="sidebar-search">
<i class="icon-search"></i>
<input type="text" class="sidebar-searchInput" placeholder="search" autocomplete="off" />
</div>

<ul class="sidebar-listNav">
<li><a id="extras-list" href="#full-list">Pages</a></li>


<li><a id="modules-list" href="#full-list">Modules</a></li>





</ul>
<div class="gradient"></div>
<ul id="full-list" class="sidebar-fullList"></ul>
</section>

<section class="content">
<div class="content-outer">
<div id="content" class="content-inner">


<h1>
<small class="visible-xs">MixTaskArchiveDeps v0.2.0</small>
Mix.Tasks.Archive.Build.All.List


<a href="https://github.com/hairyhum/mix_task_archive_deps/blob/master/lib/mix/tasks/archive/build.all.list.ex#L20" title="View Source" class="view-source" rel="help">
<i class="icon-code"></i>
</a>

</h1>


<section id="moduledoc">
<h2 id="module-command-line-options" class="section-heading">
<a href="#module-command-line-options" class="hover-link"><i class="icon-link"></i></a>
Command line options
</h2>

<ul>
<li><p><code class="inline">-o|--destination</code> - specifies output directory name.
Defaults to BUILD_DIR/archives</p>
</li>
<li><p><code class="inline">-e|--elixir</code> - specifies if all elixir applications
should be archived. Defaults to <code class="inline">false</code></p>
</li>
<li><p><code class="inline">-s|--separator</code> - character to use as separator
when listing archives</p>
</li>
</ul>

</section>



<section id="summary" class="details-list">
<h1 class="section-heading">
<a class="hover-link" href="#summary">
<i class="icon-link"></i>
</a>
Summary
</h1>



<div class="summary-functions summary">
<h2>
<a href="#functions">Functions</a>
</h2>
<div class="summary-row">
<div class="summary-signature">
<a href="#run/1">run(argv)</a>
</div>

<div class="summary-synopsis"><p>A task needs to implement <code class="inline">run</code> which receives
a list of command line args</p>
</div>

</div>

</div>






</section>





<section id="functions" class="details-list">
<h1 class="section-heading">
<a class="hover-link" href="#functions">
<i class="icon-link"></i>
</a>
Functions
</h1>
<div class="detail" id="run/1">

<div class="detail-header">
<a href="#run/1" class="detail-link" title="Link to this function">
<i class="icon-link"></i>
</a>
<span class="signature">run(argv)</span>

<a href="https://github.com/hairyhum/mix_task_archive_deps/blob/master/lib/mix/tasks/archive/build.all.list.ex#L43" class="view-source" rel="help" title="View Source">
<i class="icon-code"></i>
</a>



<div class="specs">

<pre>run(<a href="https://hexdocs.pm/elixir/OptionParser.html#t:argv/0">OptionParser.argv</a>) :: :ok</pre>

</div>

</div>
<section class="docstring">
<p>A task needs to implement <code class="inline">run</code> which receives
a list of command line args.</p>
<p>Callback implementation for <a href="https://hexdocs.pm/mix/Mix.Task.html#c:run/1"><code class="inline">Mix.Task.run/1</code></a>.</p>

</section>
</div>

</section>





<footer class="footer">
<p>
<span class="line">
Built using
<a href="https://github.com/elixir-lang/ex_doc" title="ExDoc" rel="help" target="_blank">ExDoc</a> (v0.14.5),
</span>
<span class="line">
designed by
<a href="https://twitter.com/dignifiedquire" target="_blank" title="@dignifiedquire">Friedel Ziegelmayer</a>.
</span>
</p>
<button class="night-mode-toggle" />
</footer>
</div>
</div>
</section>
</div>
<script src="dist/app-4aef34ad5f.js"></script>
</body>
</html>

10 changes: 4 additions & 6 deletions doc/Mix.Tasks.Archive.Build.All.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="ExDoc v0.14.5">
<title>Mix.Tasks.Archive.Build.All – MixTaskArchiveDeps v0.1.0</title>
<title>Mix.Tasks.Archive.Build.All – MixTaskArchiveDeps v0.2.0</title>
<link rel="stylesheet" href="dist/app-a07cea761b.css" />

<link rel="canonical" href="https://hexdocs.pm/mix_task_archive_deps/Mix.Tasks.Archive.Build.All.html" />

<script src="dist/sidebar_items-f55dfa393f.js"></script>
<script src="dist/sidebar_items-62a83da759.js"></script>
</head>
<body data-type="modules">
<script>if(localStorage.getItem('night-mode')) document.body.className += ' night-mode';</script>
Expand All @@ -28,7 +26,7 @@ <h1 class="sidebar-projectName">
MixTaskArchiveDeps
</h1>
<h2 class="sidebar-projectVersion">
v0.1.0
v0.2.0
</h2>
</div>

Expand Down Expand Up @@ -60,7 +58,7 @@ <h2 class="sidebar-projectVersion">


<h1>
<small class="visible-xs">MixTaskArchiveDeps v0.1.0</small>
<small class="visible-xs">MixTaskArchiveDeps v0.2.0</small>
Mix.Tasks.Archive.Build.All


Expand Down
35 changes: 29 additions & 6 deletions doc/Mix.Tasks.Archive.Build.Deps.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="generator" content="ExDoc v0.14.5">
<title>Mix.Tasks.Archive.Build.Deps – MixTaskArchiveDeps v0.1.0</title>
<title>Mix.Tasks.Archive.Build.Deps – MixTaskArchiveDeps v0.2.0</title>
<link rel="stylesheet" href="dist/app-a07cea761b.css" />

<link rel="canonical" href="https://hexdocs.pm/mix_task_archive_deps/Mix.Tasks.Archive.Build.Deps.html" />

<script src="dist/sidebar_items-f55dfa393f.js"></script>
<script src="dist/sidebar_items-62a83da759.js"></script>
</head>
<body data-type="modules">
<script>if(localStorage.getItem('night-mode')) document.body.className += ' night-mode';</script>
Expand All @@ -28,7 +26,7 @@ <h1 class="sidebar-projectName">
MixTaskArchiveDeps
</h1>
<h2 class="sidebar-projectVersion">
v0.1.0
v0.2.0
</h2>
</div>

Expand Down Expand Up @@ -60,7 +58,7 @@ <h2 class="sidebar-projectVersion">


<h1>
<small class="visible-xs">MixTaskArchiveDeps v0.1.0</small>
<small class="visible-xs">MixTaskArchiveDeps v0.2.0</small>
Mix.Tasks.Archive.Build.Deps


Expand Down Expand Up @@ -113,6 +111,12 @@ <h2>
<a href="#build_archives/1">build_archives(opts)</a>
</div>

</div>
<div class="summary-row">
<div class="summary-signature">
<a href="#list_archives/1">list_archives(opts)</a>
</div>

</div>
<div class="summary-row">
<div class="summary-signature">
Expand Down Expand Up @@ -159,6 +163,25 @@ <h1 class="section-heading">



</div>
<section class="docstring">

</section>
</div>
<div class="detail" id="list_archives/1">

<div class="detail-header">
<a href="#list_archives/1" class="detail-link" title="Link to this function">
<i class="icon-link"></i>
</a>
<span class="signature">list_archives(opts)</span>

<a href="https://github.com/hairyhum/mix_task_archive_deps/blob/master/lib/mix/tasks/archive/build.deps.ex#L59" class="view-source" rel="help" title="View Source">
<i class="icon-code"></i>
</a>



</div>
<section class="docstring">

Expand Down
Loading

0 comments on commit ef56753

Please sign in to comment.