summaryrefslogtreecommitdiff
path: root/tests/run-test-suite/src/ReadMe.md
blob: ced29cb5f16b67c5fe3c23c65f3ec1a8d239e907 (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
libyaml-parser-emitter
======================

Parser and Emitter CLI tools for libyaml

# Synopsis

```
make build
make test
```

# Usage

Print parse events for a YAML file (or stdin):
```
./libyaml-parser file.yaml
./libyaml-parser < file.yaml
cat file.yaml | ./libyaml-parser
```

Print the YAML for a libyaml-parser events file (or stdin):
```
./libyaml-emitter file.events
./libyaml-emitter < file.events
cat file.events | ./libyaml-emitter
```

# Build

```
export LIBYAML_DIR=/path/to/libyaml   # Optional
make build
```