tree-sitter/docs
Steven Kalt d35efd4608
feat(cli): support building WASM via podman
Previously, `tree-sitter build-wasm` had the ability to build WASM
by using docker to pull in an image with a complete emscripten toolchain.
This commit adds the ability to use podman to do the same thing.

Using podman requires two notable changes:
1. Using the fully-qualified image name. Docker defaults to prepending
    `docker.io` to the image name, but podman does not.
2. Podman will mount the `/src/` volume as belonging to root unless
  `--userns=keep-id` is passed. I think podman's different
  volume-ownership is related to podman's daemonless execution and
  `--uidmap` functionality, but I'm not 100% sure.

To test, I ran
```sh
script/fetch-fixtures
script/generate-fixtures
script/generate-fixtures-wasm # <- the important one!
```

which worked as well as the docker version.
2024-01-29 00:50:32 -05:00
..
_layouts Add hyperlink to github repo below img of tree 2020-02-12 16:20:03 +00:00
assets playground: Make query error underlines render in safari 2021-11-22 16:04:45 -08:00
.gitignore Add table of contents to docs pages 2018-02-26 17:42:42 -08:00
_config.yml Start fleshing out docs site 2018-06-10 14:44:33 -07:00
Gemfile docs: add webrick to Gemfile to fix a compat issue 2023-03-15 12:31:54 +02:00
Gemfile.lock chore(deps-dev): bump commonmarker from 0.23.9 to 0.23.10 in /docs 2023-08-08 20:25:20 +00:00
index.md docs: add various binding and grammar links 2024-01-25 21:41:07 -05:00
section-2-using-parsers.md doc: fix multi-language program typo 2023-11-06 13:18:09 +01:00
section-3-creating-parsers.md Add missing closing parenthesis 2024-01-25 20:45:46 -05:00
section-4-syntax-highlighting.md docs: update injection properties 2023-08-22 01:36:25 -04:00
section-5-implementation.md docs: update badges; fix markdown lint complains 2023-04-16 23:39:08 +03:00
section-6-contributing.md feat(cli): support building WASM via podman 2024-01-29 00:50:32 -05:00
section-7-playground.html Add QL to the playground (#558) 2020-03-03 13:46:20 -08:00
section-8-code-navigation-systems.md docs: update badges; fix markdown lint complains 2023-04-16 23:39:08 +03:00