Skip to content

Commit

Permalink
docs: updates
Browse files Browse the repository at this point in the history
  • Loading branch information
srackham committed Jul 19, 2022
1 parent fde2789 commit 85c8ff0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
7 changes: 5 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Drake Changelog

## 1.6.0 / 2022-??-??
## 1.6.0 / 2022-07-19

- Added `stat(path)` API function which returns information about a file or
`null` if the file does not exist.
- Added `isFile(path)`, `isDirectory(path)` and `pathExists(path)` path query functions.
- Added `remove(...patterns)` API function which deletes files matching the
wildcard patterns.
- FIX: `glob` API fails if pattern begins with a nonexistent directory e.g.
`non-existent-directory/*`.

## 1.5.2 / 2022-05-20

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
file system _mtimes_ are used directly (see
[mtime comparison considered harmful](https://apenwarr.ca/log/20181113)).

**Status**: Tested with Deno 1.23.2 running on Github CI the following
**Status**: Tested with Deno 1.23.4 running on Github CI the following
platforms: `ubuntu-latest`, `macos-latest`, `windows-latest`. See also the
[changelog](CHANGELOG.md).

Expand All @@ -30,7 +30,7 @@ A drakefile is a TypeScript module that:
### Example drakefile

```typescript
import { desc, run, task } from "https://deno.land/x/drake@v1.5.2/mod.ts";
import { desc, run, task } from "https://deno.land/x/drake@v1.6.0/mod.ts";

desc("Minimal Drake task");
task("hello", [], function () {
Expand Down Expand Up @@ -76,14 +76,14 @@ module can be imported from:
- [deno.land](https://deno.land/x/drake) (Deno's third party modules registry).
For example:

import { desc, run, task } from "https://deno.land/x/drake@v1.5.2/mod.ts";
import { desc, run, task } from "https://deno.land/x/drake@v1.6.0/mod.ts";

- [nest.land](https://nest.land/package/drake) (a blockchain based Deno modules
registry).\
**NOTE**: Drake version numbers in `nest.land` URLs are not prefixed with a
'v' character:

import { desc, run, task } from "https://x.nest.land/drake@1.5.2/mod.ts";
import { desc, run, task } from "https://x.nest.land/drake@1.6.0/mod.ts";

Some Drake APIs are useful in non-drakefiles, use `lib.ts` (not `mod.ts`) to
import them into non-drakefile modules.
Expand Down

0 comments on commit 85c8ff0

Please sign in to comment.