File: run.sh

package info (click to toggle)
crazy-complete 0.3.6-2
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 2,404 kB
  • sloc: python: 7,949; sh: 4,636; makefile: 74
file content (19 lines) | stat: -rwxr-xr-x 476 bytes parent folder | download | duplicates (3)
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