File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 26
26
#! / usr / bin / env dzx
27
27
/// <reference path = " https://deno.land/x/dzx/types.d.ts" />
28
28
29
+ $ .verbose = true ;
30
+ $ .shell = " /usr/local/bin/zsh" ;
31
+
29
32
console .log (` Hello from ${$ .blue .bold (" dzx" )}! ` );
30
33
31
34
const branch = await $ ` git branch --show-current ` ;
32
35
await $ ` dep deploy --branch=${branch } ` ;
33
36
37
+ cd (" src/foo" );
38
+ cd (" src/bar" );
39
+
34
40
await Promise .all ([
35
41
$ ` deno lint --unstable ` ,
36
42
$ ` deno fmt --check ` ,
@@ -57,9 +63,12 @@ await $`mkdir /tmp/${name}`; // <-- string will be safly quoted to: /tmp/'foo ba
57
63
## Install
58
64
59
65
```
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
61
67
```
62
68
69
+ > ` --unstable ` is required for the ` bundle ` command which uses ` Deno.emit ` , for
70
+ > ` std/fs/copy ` and for web workers.
71
+
63
72
## Usage
64
73
65
74
To start writing a dzx script, add next shebang at the beginning of your script:
You can’t perform that action at this time.
0 commit comments