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

Version Path
mux_ruby-3.20.0 gen/Makefile
mux_ruby-3.19.0 gen/Makefile
mux_ruby-3.18.0 gen/Makefile
mux_ruby-3.17.0 gen/Makefile
mux_ruby-3.15.0 gen/Makefile
mux_ruby-3.14.0 gen/Makefile
mux_ruby-3.13.0 gen/Makefile
mux_ruby-3.12.0 gen/Makefile
mux_ruby-3.11.1 gen/Makefile
mux_ruby-3.11.0 gen/Makefile
mux_ruby-3.9.0 gen/Makefile
mux_ruby-3.8.0 gen/Makefile
mux_ruby-3.7.0 gen/Makefile
mux_ruby-3.6.0 gen/Makefile
mux_ruby-3.5.2 gen/Makefile
mux_ruby-3.5.1 gen/Makefile
mux_ruby-3.5.0 gen/Makefile
mux_ruby-3.4.0 gen/Makefile
mux_ruby-3.3.1 gen/Makefile
mux_ruby-3.3.0 gen/Makefile