Mercurial
comparison third_party/emsdk/emsdk_env.fish @ 179:8d17f6e6e290
[ThirdParty] Added emsdk bazel rules that can be supported by bazel 9.0.0
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Thu, 22 Jan 2026 21:23:17 -0800 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 178:94705b5986b3 | 179:8d17f6e6e290 |
|---|---|
| 1 #In your Fish configuration, add this line: | |
| 2 #alias emsdk_setup ". /path/to/emsdk/emsdk_env.fish" | |
| 3 #Now, when you want to use the SDK, run this alias first to set up | |
| 4 #your environment. | |
| 5 | |
| 6 set -gx EMSDK_FISH 1 | |
| 7 | |
| 8 set -l script (status -f) | |
| 9 set -l dir (dirname $script) | |
| 10 | |
| 11 eval ($dir/emsdk construct_env) | |
| 12 | |
| 13 set -e -l script | |
| 14 set -e -l dir |