mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-27 00:42:05 +08:00
100f89a161
* openpilot v0.9.9 release date: 2025-06-05T19:54:08 master commit: 8aadf02b2fd91f4e1285e18c2c7feb32d93b66f5 * AGNOS 12.4 (#35558) agnos12.4 --------- Co-authored-by: Vehicle Researcher <user@comma.ai> Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
11 lines
370 B
Bash
Executable File
11 lines
370 B
Bash
Executable File
#!/usr/bin/env bash
|
|
cd "$(dirname "$0")"
|
|
npm init -y && \
|
|
npm install --save-dev webpack webpack-cli && \
|
|
npm install tiktoken && \
|
|
jq '.scripts.build = "webpack"' package.json > package.tmp.json && \
|
|
mv package.tmp.json package.json && \
|
|
npm run build && \
|
|
mv dist/*.wasm ./tiktoken_bg.wasm && \
|
|
mv dist/* ./ && \
|
|
rm -rf dist node_modules package-lock.json package.json |