mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
abd8c8a699
ast-grep was missing in the dev container. But the AI was trying to use it.
14 lines
388 B
Bash
14 lines
388 B
Bash
#!/bin/bash
|
|
set -eu
|
|
|
|
sudo chown -R "$(whoami)" "$(pwd)/target"
|
|
|
|
# cargo binstall (NOTE: update the commit when the script changes)
|
|
curl -L --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/3b64237893f03d6cce15ff4c5163026b681d5f9e/install-from-binstall-release.sh | bash
|
|
|
|
npm i -g @withgraphite/graphite-cli
|
|
|
|
cargo binstall ast-grep -y
|
|
|
|
just init
|