Skip to content

Commit

Permalink
Deployed 5b55ef9 with MkDocs version: 1.5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Unknown committed Mar 3, 2024
1 parent 38d1858 commit 932358a
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 31 deletions.
56 changes: 38 additions & 18 deletions clojure-cli/built-in-commands/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -876,6 +876,15 @@
</label>
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>

<li class="md-nav__item">
<a href="#deps-tool" class="md-nav__link">
<span class="md-ellipsis">
:deps tool
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#list-library-dependencies" class="md-nav__link">
<span class="md-ellipsis">
Expand Down Expand Up @@ -8109,6 +8118,15 @@
</label>
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>

<li class="md-nav__item">
<a href="#deps-tool" class="md-nav__link">
<span class="md-ellipsis">
:deps tool
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#list-library-dependencies" class="md-nav__link">
<span class="md-ellipsis">
Expand Down Expand Up @@ -8217,48 +8235,50 @@ <h1 id="clojure-cli-built-in-commands">Clojure CLI Built-in commands<a class="he
<p><code>clj</code> is a wrapper script for the <code>clojure</code> command (<code>rlwrap</code> required) to add command history to the basic REPL prompt.</p>
<p><code>clojure -T:deps</code> to run one of several built-in commands to help work with Clojure CLI projects and libraries.</p>
<p><code>clojure --help</code> list the available commands.</p>
<p><code>-X</code> execution option is used for the <code>:deps</code> aliases, running them via <code>clojure.exec</code> and limiting the class path to the current directory.</p>
<h2 id="deps-tool">:deps tool<a class="headerlink" href="#deps-tool" title="Permanent link">λ︎</a></h2>
<p>The <code>:deps</code> aliases provides tools for managing library dependencies. </p>
<p>The Clojure CLI <code>-X</code> flag is used to call these tools via <code>clojure.exec</code> and take key value pairs as arguments</p>
<table>
<thead>
<tr>
<th style="text-align: left;">aliases</th>
<th style="text-align: left;">Description</th>
<th>aliases</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left;"><code>clojure -X:deps list</code></td>
<td style="text-align: left;">List full transitive deps set and licenses</td>
<td><code>clojure -X:deps list</code></td>
<td>List full transitive deps set and licenses</td>
</tr>
<tr>
<td style="text-align: left;"><code>clojure -X:deps tree</code></td>
<td style="text-align: left;">download dependencies &amp; print dependency tree, indenting libraries that are dependencies of dependencies</td>
<td><code>clojure -X:deps tree</code></td>
<td>download dependencies &amp; print dependency tree, indenting libraries that are dependencies of dependencies</td>
</tr>
<tr>
<td style="text-align: left;"><code>clojure -X:deps find-versions</code></td>
<td style="text-align: left;">Find available versions of a given library (domain/name)</td>
<td><code>clojure -X:deps find-versions</code></td>
<td>Find available versions of a given library (domain/name)</td>
</tr>
<tr>
<td style="text-align: left;"><code>clojure -X:deps prep</code></td>
<td style="text-align: left;">Prepare all unprepped libs in the dep tree</td>
<td><code>clojure -X:deps prep</code></td>
<td>Prepare all unprepped libs in the dep tree</td>
</tr>
<tr>
<td style="text-align: left;"><code>clojure -X:deps mvn-pom</code></td>
<td style="text-align: left;">Generate or update pom.xml with deps and paths</td>
<td><code>clojure -X:deps mvn-pom</code></td>
<td>Generate or update pom.xml with deps and paths</td>
</tr>
<tr>
<td style="text-align: left;"><code>clojure -X:deps mvn-install :jar '"/path/to.jar"'</code></td>
<td style="text-align: left;">install a given jar file into the local maven repository, eg. <code>~/.m2/repository</code></td>
<td><code>clojure -X:deps mvn-install :jar '"/path/to.jar"'</code></td>
<td>install a given jar file into the local maven repository, eg. <code>~/.m2/repository</code></td>
</tr>
<tr>
<td style="text-align: left;"><code>clojure -X:deps git-resolve-tags</code></td>
<td style="text-align: left;">update <code>deps.edn</code> git based dependencies that used tags with the equivalent SHA commit values</td>
<td><code>clojure -X:deps git-resolve-tags</code></td>
<td>update <code>deps.edn</code> git based dependencies that used tags with the equivalent SHA commit values</td>
</tr>
</tbody>
</table>
<p><a class="md-button" href="https://clojure.github.io/tools.deps.alpha/" target="_blank">tools.deps.alpha API Reference</a></p>
<blockquote>
<p>Libraries are downloaded if they are not in the local Maven cache, e.g. <code>$HOME/.m2/repository</code>, so the command may take a little time.</p>
<p>Libraries are downloaded if they are not in the local Maven cache, e.g. <code>$HOME/.m2/repository</code>, so on first run a command may take a little time.</p>
</blockquote>
<details class="hint">
<summary>Use Clojure CLI -P flag to download libraries</summary>
Expand Down
40 changes: 28 additions & 12 deletions coding-challenges/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7997,13 +7997,31 @@
</label>
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix>

<li class="md-nav__item">
<a href="#practicalli-challenges" class="md-nav__link">
<span class="md-ellipsis">
Practicalli Challenges
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#approach-to-solving-challenges" class="md-nav__link">
<span class="md-ellipsis">
Approach to solving challenges
</span>
</a>

</li>

<li class="md-nav__item">
<a href="#challenge-websites" class="md-nav__link">
<span class="md-ellipsis">
Challenge websites
</span>
</a>

</li>

</ul>
Expand Down Expand Up @@ -8042,6 +8060,12 @@ <h1 id="coding-challenges-for-clojure">Coding Challenges for Clojure<a class="he
<p>Coding challenges are an excellent way to start learning a new language. The challenges allow you to focus on the language and not be concerned about the more general engineering aspects of software development.</p>
<p>Challenges are there to explore a language and practice your understanding of how to assemble working code. It is recommended to try different approaches to solving a challenges and even repeat the same challenges at a later date and see what additional approaches you have learned.</p>
<p><a href="https://exercism.io" target="_blank">Exercism.io</a> and <a href="https://4clojure.oxal.org/" target="_blank">4Ever-Clojure</a> are highly recommended starting point for learning Clojure and does not require any installation or setup. 4Ever-Clojure is a new implementation of 4Clojure.com.</p>
<h2 id="practicalli-challenges">Practicalli Challenges<a class="headerlink" href="#practicalli-challenges" title="Permanent link">λ︎</a></h2>
<p>Challenge that can be solved in a few hours (or less). Use a <a href="/clojure/clojure-editors/">Clojure REPL connected editor</a> to help solve these challenges. </p>
<ul>
<li><a href="/clojure/simple-projects/">Simple Projects</a></li>
<li><a href="/clojure/simple-projects/tdd-kata/">TDD Code Kata</a></li>
</ul>
<h2 id="approach-to-solving-challenges">Approach to solving challenges<a class="headerlink" href="#approach-to-solving-challenges" title="Permanent link">λ︎</a></h2>
<p>Take a few minutes to digest the description of the challenge and make notes.</p>
<p>Identify the simplest possible thing to do, solving the problem in many small pieces which encourages experimentation</p>
Expand All @@ -8053,6 +8077,8 @@ <h2 id="approach-to-solving-challenges">Approach to solving challenges<a class="
<li>transform data shapes to keep function definitions simpler</li>
</ul>
<p>Once there is a working solution, refactor or try different approaches and evaluate the merit of alternative solutions</p>
<h2 id="challenge-websites">Challenge websites<a class="headerlink" href="#challenge-websites" title="Permanent link">λ︎</a></h2>
<p>A local Clojure development environment supports solving challenge websites, e.g <a href="/clojure/install/clojure-cli.md">Clojure CLI</a> and a <a href="/clojure/clojure-editors/index.md">Clojure REPl connected editor</a> </p>
<table>
<thead>
<tr>
Expand All @@ -8070,24 +8096,14 @@ <h2 id="approach-to-solving-challenges">Approach to solving challenges<a class="
<tr>
<td><a href="exercism/">Exercism</a></td>
<td>Coding exercises with mentor support</td>
<td>Web Browser (local: Exercism CLI, Clojure CLI &amp; <a href="/clojure/clojure-editors/">Clojure aware editor</a></td>
<td>Web Browser &amp; Exercim CLI</td>
</tr>
<tr>
<td><a href="http://clojurescriptkoans.com/">ClojureScript Koans</a></td>
<td>Interactive exercises in a web browser</td>
<td>Web Browser</td>
</tr>
<tr>
<td><a href="/clojure/simple-projects/">Simple Projects</a></td>
<td>Challenge that can be solved in one session</td>
<td><a href="/clojure/clojure-editors/">Clojure aware editor</a></td>
</tr>
<tr>
<td><a href="/clojure/simple-projects/tdd-kata/">TDD Code Kata</a></td>
<td>Challenge that can be solved in one session</td>
<td><a href="/clojure/clojure-editors/">Clojure aware editor</a></td>
</tr>
<tr>
<td><a href="advent-of-code/">Advent of Code</a></td>
<td>Yearly coding challenge with a seasonal theme</td>
<td><a href="/clojure/clojure-editors/">Clojure aware editor</a></td>
Expand Down Expand Up @@ -8119,7 +8135,7 @@ <h2 id="approach-to-solving-challenges">Approach to solving challenges<a class="
<span class="md-icon" title="Last update">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M21 13.1c-.1 0-.3.1-.4.2l-1 1 2.1 2.1 1-1c.2-.2.2-.6 0-.8l-1.3-1.3c-.1-.1-.2-.2-.4-.2m-1.9 1.8-6.1 6V23h2.1l6.1-6.1-2.1-2M12.5 7v5.2l4 2.4-1 1L11 13V7h1.5M11 21.9c-5.1-.5-9-4.8-9-9.9C2 6.5 6.5 2 12 2c5.3 0 9.6 4.1 10 9.3-.3-.1-.6-.2-1-.2s-.7.1-1 .2C19.6 7.2 16.2 4 12 4c-4.4 0-8 3.6-8 8 0 4.1 3.1 7.5 7.1 7.9l-.1.2v1.8Z"/></svg>
</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">July 25, 2023</span>
<span class="git-revision-date-localized-plugin git-revision-date-localized-plugin-date">March 3, 2024</span>
</span>


Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.

0 comments on commit 932358a

Please sign in to comment.