File: install-dev.sh

package info (click to toggle)
nanopub 0.2.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,240 kB
  • sloc: javascript: 181; sh: 86; python: 64; xml: 60; makefile: 31
file content (13 lines) | stat: -rwxr-xr-x 387 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env bash
set -e
# Script to install dependencies for development and enable pre-commit hooks

rustup update
cargo install wasm-pack cargo-release cargo-tarpaulin cargo-deny cargo-make git-cliff

uvx pre-commit install

# if [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then
#     echo "Installing Linux specific dependency"
#     uv run pip install maturin[patchelf]
# fi