-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(odd-platform-ui): fix ui build for windows #1607
Conversation
This comment has been minimized.
This comment has been minimized.
Quality Gate passed for 'odd-platform-ui'Kudos, no new issues were introduced! 0 New issues |
@@ -9,12 +9,12 @@ | |||
"build": "pnpm generate && tsc --noEmit && vite build", | |||
"test": "vitest", | |||
"tsc": "tsc", | |||
"generate": "docker run -v `pwd`/..:/mnt -w /mnt --rm openapitools/openapi-generator-cli:v5.1.1 generate -c odd-platform-ui/openapi-config.yaml", | |||
"generate": "chmod u+x ./generate.sh && ./generate.sh", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you try to run pnpm build
or gradle build
to make sure that gradle can generate models and build ui too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, both pnpm build
and gradle build
work
@@ -9,12 +9,12 @@ | |||
"build": "pnpm generate && tsc --noEmit && vite build", | |||
"test": "vitest", | |||
"tsc": "tsc", | |||
"generate": "docker run -v `pwd`/..:/mnt -w /mnt --rm openapitools/openapi-generator-cli:v5.1.1 generate -c odd-platform-ui/openapi-config.yaml", | |||
"generate": "chmod u+x ./generate.sh && ./generate.sh", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm. Running bash scripts is not looks safe from contributor's prospective.
What changes did you make? (Give an overview)
How to test
run pnpm build on windows