File: run.sh

package info (click to toggle)
crazy-complete 0.3.7-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,528 kB
  • sloc: python: 13,342; sh: 995; makefile: 68
file content (19 lines) | stat: -rwxr-xr-x 476 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

set -e

cd "$(dirname "$0")"

CRAZY_COMPLETE=../../crazy-complete
TEST_FILE=../tests/crazy-complete-test

set -x

$CRAZY_COMPLETE --debug --input-type=python json "$TEST_FILE" -o out.json
$CRAZY_COMPLETE --debug --input-type=python yaml "$TEST_FILE" -o out.yaml

$CRAZY_COMPLETE --debug bash out.yaml -o /tmp/out.bash
$CRAZY_COMPLETE --debug bash out.json -o /tmp/out.bash

grep --help > help.txt
$CRAZY_COMPLETE --debug --input-type=help yaml help.txt -o out.yaml