Sha256: 3ed5fad889869bd4cbb0661b3056a697234f70d8a9b89fb056a357ad819bb36a
Contents?: true
Size: 865 Bytes
Versions: 29
Compression:
Stored size: 865 Bytes
Contents
# per-SDK stuff GENERATOR_TYPE=ruby ###### helper variables ###### # this is in case we want to go to Docker or something other than running yarn # for OAS in the future. also less typing. OAS_CLI=yarn run -s oas CONFIG_PATH=./generator-config.json OUTPUT_DIR=.. TEMPLATE_DIR=./templates GENERATED_TEMPLATE_DIR=./tmp/oas-base-templates ensure: yarn install clean: rm -rf tmp clean-products: rm -rf "${OUTPUT_DIR}/lib" rm -rf "${OUTPUT_DIR}/docs" build: ensure clean-products ${OAS_CLI} generate -g "${GENERATOR_TYPE}" -c "${CONFIG_PATH}" -t "${TEMPLATE_DIR}" -o "${OUTPUT_DIR}" -i "${OAS_SPEC_PATH}" config-help: ensure ${OAS_CLI} config-help -g "${GENERATOR_TYPE}" template-diff: ensure ${OAS_CLI} author template -g "${GENERATOR_TYPE}" -o "${GENERATED_TEMPLATE_DIR}" diff "${TEMPLATE_DIR}" "${GENERATED_TEMPLATE_DIR}" > ./tmp/template-changes.diff
Version data entries
29 entries across 29 versions & 1 rubygems