Sha256: 72c779f1ae617b59e6486337861e943dfea7babd13dd54fbbf65fca00e5c6102
Contents?: true
Size: 526 Bytes
Versions: 8
Compression:
Stored size: 526 Bytes
Contents
#!/bin/sh set -e cd "$(dirname "$0")/.." LANGUAGE="$1" CONFIG_FILE="swagger-config.json" if [ "$LANGUAGE" = "" ]; then ./script/swagger # prints languages exit 1 fi if [ ! -f "$CONFIG_FILE" ]; then echo "Could not find $CONFIG_FILE" ./script/swagger config-help -l "$LANGUAGE" exit 1 fi ./script/clean ./script/swagger generate \ -i docraptor.yaml \ -l "$LANGUAGE" \ -c "$CONFIG_FILE" # call a generator cleanup script if [ -f "script/post_generate_language" ]; then ./script/post_generate_language fi
Version data entries
8 entries across 8 versions & 1 rubygems