diff --git a/build.ps1 b/build.ps1 index 0380dc7..5e3bc3b 100755 --- a/build.ps1 +++ b/build.ps1 @@ -8,15 +8,15 @@ $sdk_dir="/VTK-install/$sdk_config/lib/cmake/vtk" docker run ` --rm ` - -v"$pwd":/vtkWasmBenchmarks ` + -v"$pwd":/vtk-wasm-demos ` ${sdk_image}:${sdk_version} ` - emcmake cmake -GNinja -S /vtkWasmBenchmarks -B /vtkWasmBenchmarks/out -DCMAKE_BUILD_TYPE="$sdk_config" -DVTK_DIR="$sdk_dir" + emcmake cmake -GNinja -S /vtk-wasm-demos -B /vtk-wasm-demos/out -DCMAKE_BUILD_TYPE="$sdk_config" -DVTK_DIR="$sdk_dir" docker run ` --rm ` - -v"$pwd":/vtkWasmBenchmarks ` + -v"$pwd":/vtk-wasm-demos ` ${sdk_image}:${sdk_version} ` - cmake --build /vtkWasmBenchmarks/out + cmake --build /vtk-wasm-demos/out npm i diff --git a/build.sh b/build.sh index d5bda4c..607185c 100755 --- a/build.sh +++ b/build.sh @@ -18,15 +18,15 @@ readonly sdk_dir docker run \ --rm \ -u "$(id -u):$(id -g)" \ - -v"$PWD":/vtkWasmBenchmarks \ + -v"$PWD":/vtk-wasm-demos \ $sdk_image:$sdk_version \ - emcmake cmake -GNinja -S /vtkWasmBenchmarks -B /vtkWasmBenchmarks/out -DCMAKE_BUILD_TYPE=$sdk_config -DVTK_DIR=$sdk_dir + emcmake cmake -GNinja -S /vtk-wasm-demos -B /vtk-wasm-demos/out -DCMAKE_BUILD_TYPE=$sdk_config -DVTK_DIR=$sdk_dir docker run \ --rm \ - -v"$PWD":/vtkWasmBenchmarks \ + -v"$PWD":/vtk-wasm-demos \ $sdk_image:$sdk_version \ - cmake --build /vtkWasmBenchmarks/out + cmake --build /vtk-wasm-demos/out npm i diff --git a/vite.config.ts b/vite.config.ts index dad14a7..6f9da2d 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -35,5 +35,5 @@ export default defineConfig({ server: { port: 3000, }, - base: '/vtkWasmBenchmarks/', + base: '/vtk-wasm-demos/', })