mirror of
https://github.com/oven-sh/bun
synced 2026-02-12 20:09:04 +00:00
* new docs starting point. missing alot of information * very experimental idea: make setup * run on ubuntu 20 * builds on ubuntu 20 (wsl) now * add release instructions * add valgrind note from jarred/new-bundler branch, just in case it gets lost when rebasing * changes requested
13 lines
397 B
Bash
Executable File
13 lines
397 B
Bash
Executable File
#!/bin/bash
|
|
set -euxo pipefail
|
|
|
|
# if bun-webkit node_modules directory exists
|
|
if [ -d ./node_modules/bun-webkit ]; then
|
|
rm -f bun-webkit
|
|
# get the first matching bun-webkit-* directory name
|
|
ln -s ./node_modules/$(ls ./node_modules | grep bun-webkit- | head -n 1) ./bun-webkit
|
|
fi
|
|
|
|
# sets up vscode C++ intellisense
|
|
ln -s $(which clang++-15 || which clang++) .vscode/clang++ 2>/dev/null
|