File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3434# Install rust compiler
3535echo " Installing rust compiler"
3636curl --proto ' =https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain 1.76
37- . $HOME /.cargo/env
38- cargo install cbindgen
37+ CARGO_BIN= " $HOME /.cargo/bin/cargo " # also works for Windows. On Windows this equals to %USERPROFILE%\.cargo\bin\cargo
38+ $CARGO_BIN install cbindgen
3939# Setup Poetry
4040echo " Installing poetry"
4141curl -sSL https://install.python-poetry.org | python3 - --version " 1.7.1"
4242if [[ " $OSTYPE " == " msys" * ]]; then # Windows
4343 POETRY_BIN=" $APPDATA /Python/Scripts/poetry"
4444else
45- POETRY_BIN=` echo ~ /.local/bin/poetry` # expand tilde
45+ POETRY_BIN=" $HOME /.local/bin/poetry"
4646fi
4747$POETRY_BIN self add ' poetry-dynamic-versioning[plugin]'
4848echo " Done installing dependencies"
You can’t perform that action at this time.
0 commit comments