Skip to content

Commit 5663be0

Browse files
committed
docs: update readme
1 parent a8266c7 commit 5663be0

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,17 @@
2626
#!/usr/bin/env dzx
2727
/// <reference path="https://deno.land/x/dzx/types.d.ts" />
2828

29+
$.verbose = true;
30+
$.shell = "/usr/local/bin/zsh";
31+
2932
console.log(`Hello from ${$.blue.bold("dzx")}!`);
3033

3134
const branch = await $`git branch --show-current`;
3235
await $`dep deploy --branch=${branch}`;
3336

37+
cd("src/foo");
38+
cd("src/bar");
39+
3440
await Promise.all([
3541
$`deno lint --unstable`,
3642
$`deno fmt --check`,
@@ -57,9 +63,12 @@ await $`mkdir /tmp/${name}`; // <-- string will be safly quoted to: /tmp/'foo ba
5763
## Install
5864

5965
```
60-
deno install --allow-all -r -f https://deno.land/x/dzx/dzx.ts
66+
deno install --allow-all -r -f --unstable https://deno.land/x/dzx/dzx.ts
6167
```
6268

69+
> `--unstable` is required for the `bundle` command which uses `Deno.emit`, for
70+
> `std/fs/copy` and for web workers.
71+
6372
## Usage
6473

6574
To start writing a dzx script, add next shebang at the beginning of your script:

0 commit comments

Comments
 (0)