File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,17 +45,17 @@ bundlespec:
45
45
46
46
src/generated/service/index.ts : $(shell find api -type f)
47
47
echo " Building service interface"
48
- ifndef BUNDLE_OUTPUT
48
+ ifndef BUNDLE_OUTPUT
49
49
$(eval BUNDLE_OUTPUT := $(shell mktemp -d))
50
50
$(eval GENERATED_DIR := true)
51
- endif
51
+ endif
52
52
$(MAKE) bundlespec SERVICE_NAME=$(SERVICE_NAME) BUNDLE_OUTPUT=$(BUNDLE_OUTPUT)
53
53
yarn dlx openapi-typescript-express $(BUNDLE_OUTPUT)/openapi-spec.json \
54
54
--output ./src/generated/service/index.ts
55
55
yarn prettier ./src/generated/service/index.ts --write
56
- ifdef GENERATED_DIR
56
+ ifdef GENERATED_DIR
57
57
rm -rf $(BUNDLE_OUTPUT)
58
- endif
58
+ endif
59
59
60
60
# Config schema generation
61
61
CONFIG_TYPE_SRC ?= src/types/config.ts
You can’t perform that action at this time.
0 commit comments