Skip to content

Commit 3be0284

Browse files
committed
fix compat path (test, ci, readme)
1 parent a56bb97 commit 3be0284

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@ jobs:
114114
# Check simd for compat builds
115115
- name: Check 2d simd compat build
116116
run: |
117-
if ! wasm-objdump -d rapier-compat/builds/2d-simd/pkg/rapier_wasm2d_bg.wasm | grep :\\sfd ; then
117+
if ! wasm-objdump -d rapier-compat/builds/rapier2d-simd/pkg/rapier_wasm2d_bg.wasm | grep :\\sfd ; then
118118
>&2 echo "ERROR: 2d simd compat build does not include simd opcode prefix." && exit 1;
119119
fi
120120
- name: Check 3d simd compat build
121121
run: |
122-
if ! wasm-objdump -d rapier-compat/builds/3d-simd/pkg/rapier_wasm3d_bg.wasm | grep :\\sfd ; then
122+
if ! wasm-objdump -d rapier-compat/builds/rapier3d-simd/pkg/rapier_wasm3d_bg.wasm | grep :\\sfd ; then
123123
>&2 echo "ERROR: 3d simd compat build does not include simd opcode prefix." && exit 1;
124124
fi
125125
# Upload

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Note that `prepare_all_projects.sh` only needs to be run once. It needs to be re
4343

4444
The built packages will be in `builds/rapier2d/pkg`, `builds/rapier3d/pkg`, etc. To build the `-compat` variant of the
4545
packages, run `npm run build` in the `rapier-compat` directory. Note that this will only work if you already ran
46-
`prepare_all_projects.sh`. The compat packages are then generated in, e.g., `rapier-compat/builds/3d/pkg`.
46+
`prepare_all_projects.sh`. The compat packages are then generated in, e.g., `rapier-compat/builds/rapier3d/pkg`.
4747

4848
## Feature selection
4949

rapier-compat/tests/World2d.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {init, Vector2, World} from "../builds/2d-deterministic/pkg";
1+
import {init, Vector2, World} from "../builds/rapier2d-deterministic/pkg";
22

33
describe("2d/World", () => {
44
let world: World;

rapier-compat/tests/World3d.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {init, Vector3, World} from "../builds/3d-deterministic/pkg";
1+
import {init, Vector3, World} from "../builds/rapier3d-deterministic/pkg";
22

33
describe("3d/World", () => {
44
let world: World;

rapier-compat/tests/math2d.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {Vector2, VectorOps} from "../builds/2d-deterministic/pkg";
1+
import {Vector2, VectorOps} from "../builds/rapier2d-deterministic/pkg";
22

33
describe("2d/math", () => {
44
test("Vector2", () => {

rapier-compat/tests/math3d.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {Vector3, VectorOps} from "../builds/3d-deterministic/pkg";
1+
import {Vector3, VectorOps} from "../builds/rapier3d-deterministic/pkg";
22

33
describe("3d/math", () => {
44
test("Vector3", () => {

0 commit comments

Comments
 (0)