Skip to content

Commit

Permalink
Merge branch 'main' of github.com:cdaringe/rad
Browse files Browse the repository at this point in the history
  • Loading branch information
cdaringe committed Nov 19, 2023
2 parents 3b47edd + 9282002 commit 5de1ca0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion assets/install.sh
@@ -1,5 +1,5 @@
#!/usr/bin/env sh
set -exo pipefail
curl -fsSL https://deno.land/x/install/install.sh | sh
export __RAD_VERSION__=6.9.0
export __RAD_VERSION__=6.9.1
deno install --unstable -f -A -n rad https://deno.land/x/rad@v$__RAD_VERSION__/src/bin.ts
6 changes: 3 additions & 3 deletions assets/site/0005-manual.md
Expand Up @@ -286,7 +286,7 @@ Well that's not _super_ helpful! Let us study each these keys, one-by-one:
| `fs` | a few sugar methods, `{ readFile, writeFile, mkdirp }` that work on strings, vs buffers, and assume utf8 for shorthand |
| `sh` | execute a shell command. see the command task section above! |
| `dependentResults` | results of `dependsOn` tasks. currently these are untyped. getting type inference here is tricky. PRs welcome! |
| `logger` | the `rad` logger! a standard `Deno` logger with the commonplace log-level methods (e.g. `.info(...)`, `.debug(...)`, etc). see [the source](https://github.com/cdaringe/rad/blob/v6.9.0/src/logger.ts) |
| `logger` | the `rad` logger! a standard `Deno` logger with the commonplace log-level methods (e.g. `.info(...)`, `.debug(...)`, etc). see [the source](https://github.com/cdaringe/rad/blob/v6.9.1/src/logger.ts) |
| `path` | a direct reference to [deno node path](https://deno.land/std/node/path.ts). this API is likely to change if Deno implements a full, proper path module |
| `task` | a reference to the internal `RadTask` |
| `iter` | `AsyncIterable` utility functions |
Expand All @@ -302,7 +302,7 @@ v8.
```bash
#!/bin/sh
# generated by deno install
exec deno run --allow-read --allow-write --allow-net --allow-env --allow-run --allow-hrtime --unstable 'https://raw.githubusercontent.com/cdaringe/rad/v6.9.0/src/bin.ts' "$@"
exec deno run --allow-read --allow-write --allow-net --allow-env --allow-run --allow-hrtime --unstable 'https://raw.githubusercontent.com/cdaringe/rad/v6.9.1/src/bin.ts' "$@"
```

- extract the `deno run ...` command, drop the leading `exec` and trailing `$@`,
Expand All @@ -314,7 +314,7 @@ Example:
```bash
deno \
run --inspect-brk -A --allow-run --allow-hrtime --unstable \
'https://raw.githubusercontent.com/cdaringe/rad/v6.9.0/src/bin.ts' \
'https://raw.githubusercontent.com/cdaringe/rad/v6.9.1/src/bin.ts' \
test
# ^ add any args of interest
```
Expand Down
8 changes: 4 additions & 4 deletions readme.md
Expand Up @@ -37,7 +37,7 @@ Rad always consumes a `rad.ts` file, such as the one shown here:

```ts
// rad.ts
import { Task, Tasks } from "https://deno.land/x/rad@v6.9.0/src/mod.ts";
import { Task, Tasks } from "https://deno.land/x/rad@v6.9.1/src/mod.ts";

// command/shell tasks
const format = `prettier --write`;
Expand Down Expand Up @@ -79,10 +79,10 @@ the [releases page](https://github.com/cdaringe/rad/releases).

| usage | install-method | install-steps |
| ------- | -------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| cli | `deno` | `deno install --unstable -f -A -n rad https://raw.githubusercontent.com/cdaringe/rad/v6.9.0/src/bin.ts` |
| cli | `deno` | `deno install --unstable -f -A -n rad https://raw.githubusercontent.com/cdaringe/rad/v6.9.1/src/bin.ts` |
| cli | `docker` | `docker pull cdaringe/rad` <sup>1</sup> |
| cli | `curl` | <code>curl -fsSL https://raw.githubusercontent.com/cdaringe/rad/v6.9.0/assets/install.sh \| sh</code> (versioned)<br /><code>curl -fsSL https://raw.githubusercontent.com/cdaringe/rad/main/assets/install.sh \| sh</code> (latest) |
| library | `deno` | `import * as rad from https://github.com/cdaringe/rad/blob/main/v6.9.0/mod.ts` |
| cli | `curl` | <code>curl -fsSL https://raw.githubusercontent.com/cdaringe/rad/v6.9.1/assets/install.sh \| sh</code> (versioned)<br /><code>curl -fsSL https://raw.githubusercontent.com/cdaringe/rad/main/assets/install.sh \| sh</code> (latest) |
| library | `deno` | `import * as rad from https://github.com/cdaringe/rad/blob/main/v6.9.1/mod.ts` |

<sup>1</sup>For docker users, consider making a nice shell alias

Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
@@ -1,4 +1,4 @@
// this file is auto-updated by the release process. see `rad patchInstallVersion`
// script, executed in CI by semantic release

export const version = "6.9.0";
export const version = "6.9.1";

0 comments on commit 5de1ca0

Please sign in to comment.