Skip to content
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

Do not use pushd and popd when pnpm wasm:build #516

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

copiltembel
Copy link
Collaborator

Use cd instead of pushd to change dirs when building wasm.

@copiltembel copiltembel requested a review from samwillis January 29, 2025 14:47
Copy link
Contributor

@@ -12,7 +12,7 @@
"ci:publish": "pnpm changeset publish",
"build:all": "pnpm wasm:build && pnpm ts:build",
"ts:build": "pnpm -r --filter \"./packages/**\" build",
"wasm:build": "bash -c \"pushd postgres-pglite && ./pglite/cibuild/build-with-docker.sh && popd && cp -r postgres-pglite/pglite/dist ./packages/pglite/release \""
"wasm:build": "cd postgres-pglite && ./pglite/cibuild/build-with-docker.sh && cd .. && cp -r postgres-pglite/pglite/dist ./packages/pglite/release"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure there's a clean cmd for removing release so maybe:
mkdir -p ./packages/pglite/release && cp -r postgres-pglite/pglite/dist/* ./packages/pglite/release/

Copy link
Collaborator

@samwillis samwillis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@copiltembel copiltembel merged commit 57f9370 into main Feb 3, 2025
7 checks passed
@copiltembel copiltembel deleted the tudor/buildWasmCmd branch February 3, 2025 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants