Loading files
442335385This file is pinned to the selected release. Download the original to open it in your design tool.
442335385This file is pinned to the selected release. Download the original to open it in your design tool.
#!/usr/bin/env bash
# Runs once at install, cwd = the install dir: MuJoCo's WASM build and three.js into node_modules,
# from the lockfile. Nothing here touches the machine outside this directory. Node is this machine's,
# or Harness's own when the machine has none or too old a one (runtimes.sh); npm is the one beside it.
set -euo pipefail
cd "$(dirname "$0")"
# shellcheck source=runtimes.sh
. ./runtimes.sh
harness_node 18 || exit 1
command -v npm >/dev/null 2>&1 || { echo "miss npm beside node $(node --version)"; exit 1; }
npm ci --silent --no-audit --no-fund
[ -f node_modules/@mujoco/mujoco/mujoco.wasm ] || { echo "miss mujoco.wasm after npm ci"; exit 1; }
[ -f node_modules/three/build/three.module.js ] || { echo "miss three after npm ci"; exit 1; }
npm run smoke --silent
echo "ok mujoco $(node -p "require('./node_modules/@mujoco/mujoco/package.json').version") (wasm) · three $(node -p "require('./node_modules/three/package.json').version")"
Files from this revision, including CAD and LFS contents. Git history is not included.
Or in GitHub Desktop, choose File → Clone repository → URL and paste this address.
Public repositories can be cloned without signing in. For pushing, use your ThingAtlas username and a Git access token as the password.
git lfs install git clone https://thingatlas.com/git/-unclaimed/openharness-1322671404.git
Includes Git history, branches, and Git LFS files. Clones the repository’s default branch, regardless of the version shown here.