Skip to content

Commit 94a9c50

Browse files
committed
use symbolic link for complement
1 parent df04943 commit 94a9c50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
],
77
"scripts": {
88
"lint": "yarn prettier --write .",
9-
"generate": "PACKAGE_VERSION='4.11.0' yarn openapi-generator-cli generate --generator-key client && cp -R ./complement ./output/ && yarn lint && yarn install",
9+
"generate": "PACKAGE_VERSION='4.11.0' yarn openapi-generator-cli generate --generator-key client && ln -fs \"$(pwd)/complement\" \"$(pwd)/output/\" && yarn lint && yarn install",
1010
"build:spec": "yarn swagger-cli bundle openapi_spec/spec.yml --outfile dist/openapi.yml --type yaml",
1111
"client:build": "cd output/ && yarn install && yarn build && cd ..",
1212
"client:test": "yarn install && tsc && node dist/app.js",

0 commit comments

Comments
 (0)