Debian Codegraph @

test/conversion/run.sh

raw
1 #!/bin/sh
2
3 set -e
4
5 cd "$(dirname "$0")"
6
7 CRAZY_COMPLETE=../../crazy-complete
8 TEST_FILE=../tests/crazy-complete-test
9
10 set -x
11
12 $CRAZY_COMPLETE --debug --input-type=python json "$TEST_FILE" -o out.json
13 $CRAZY_COMPLETE --debug --input-type=python yaml "$TEST_FILE" -o out.yaml
14
15 $CRAZY_COMPLETE --debug bash out.yaml -o /tmp/out.bash
16 $CRAZY_COMPLETE --debug bash out.json -o /tmp/out.bash
17
18 grep --help > help.txt
19 $CRAZY_COMPLETE --debug --input-type=help yaml help.txt -o out.yaml