File: hello-world

package info (click to toggle)
python-setuptools-rust 1.5.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 3,300 kB
  • sloc: python: 1,554; javascript: 95; sh: 24; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 247 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash -ex

cd examples/hello-world/
export CARGO_HOME=$(mktemp -d)

cat>${CARGO_HOME}/config.toml<<EOF
[source]

[source.mirror]
directory = "/usr/share/cargo/registry/"

[source.crates-io]
replace-with = "mirror"
EOF

python3 setup.py test