-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
The Directory tasks section of the website contains a couple of minor types (link to code.
As this repository seems to no longer be maintained, I'm sharing my suggestions here rather than in a Pull Request. Feel free to apply these suggestions to the code (with or without crediting me 🙂).
<h2 class="section-heading">Directory tasks</h2>
<p>
Create a directory task by using the <code>directory</code> method.
</p>
<p>
- Directory-tasks create a directory for use with for file tasks.
+ Directory-tasks create a directory for use with file tasks.
- Jake checks for he existence of the directory, and only creates
+ Jake checks for the existence of the directory, and only creates
it if needed.
</p>
<p>
- <pre><code class="javascript hljs">let {directory, desc } = require('jake');
+ <pre><code class="javascript hljs">let { directory, desc } = require('jake');
desc('This task creates creates a directory named "bar"');
directory('bar');</code></pre>
</p>
<p>
A directory task can be used as a prerequisite for a
file task, or when run from the command line.
</p>Metadata
Metadata
Assignees
Labels
No labels