summaryrefslogtreecommitdiff
path: root/cli/tests/ascii-tree/testscript
blob: f0546f638b22264d425320158c4c27e5eb2edaf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# file      : tests/ascii-tree/testscript
# license   : MIT; see accompanying LICENSE file

: basics
:
cat <<EOI >=test.cli;
"
\
hello/
├── build/
│   ├── bootstrap.build
│   └── root.build
├── hello/
│   ├── sub/
│   │   ├── bar
│   │   └── foo
│   ├── buildfile
│   ├── hello.cxx
│   └── testscript
├── buildfile
├── manifest
├── README.md
└── repositories.manifest
\
"
EOI
$* --generate-txt --ascii-tree --stdout test.cli >>EOO
hello/
|-- build/
|   |-- bootstrap.build
|   `-- root.build
|-- hello/
|   |-- sub/
|   |   |-- bar
|   |   `-- foo
|   |-- buildfile
|   |-- hello.cxx
|   `-- testscript
|-- buildfile
|-- manifest
|-- README.md
`-- repositories.manifest
EOO