| 1 | /** |
| 2 | * Bake grey cobblestone onto thick/thin stone-wall shape masks. |
| 3 | * Delegates to texture-wall-sprites.mjs --variant=cobble |
| 4 | * |
| 5 | * node client/scripts/texture-stone-wall-sprites.mjs |
| 6 | */ |
| 7 | import { spawnSync } from "node:child_process"; |
| 8 | import { fileURLToPath } from "node:url"; |
| 9 | import { dirname, join } from "node:path"; |
| 10 | |
| 11 | const script = join(dirname(fileURLToPath(import.meta.url)), "texture-wall-sprites.mjs"); |
| 12 | const result = spawnSync(process.execPath, [script, "--variant=cobble"], { stdio: "inherit" }); |
| 13 | process.exit(result.status ?? 1); |