pantry/projects/crates.io/gitopolis/package.yml
Jacob Heider 1cc49bb19e
fix(gitopolis)
closes #3624
2023-10-11 21:00:07 -04:00

52 lines
1 KiB
YAML

distributable:
url: https://github.com/rustworkshop/gitopolis/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
github: rustworkshop/gitopolis
strip: /^v/
dependencies:
openssl.org: ^1.1
zlib.net: ^1
git-scm.org: ^2
build:
dependencies:
rust-lang.org: ^1.70
rust-lang.org/cargo: '*'
freedesktop.org/pkg-config: ^0
gnu.org/make: '*'
script: cargo install --locked --root {{prefix}} --path .
provides:
- bin/gitopolis
test:
fixture: |
[[repos]]
path = "cli"
tags = ["cli"]
[repos.remotes.origin]
name = "origin"
url = "https://github.com/teaxyz/cli"
[[repos]]
path = "lib"
tags = ["cli", "lib"]
[repos.remotes.origin]
name = "origin"
url = "https://github.com/teaxyz/lib"
[[repos]]
path = "docs"
tags = ["docs"]
[repos.remotes.origin]
name = "origin"
url = "https://github.com/teaxyz/docs"
script:
- cp $FIXTURE .gitopolis.toml
- gitopolis clone
- test -f cli/README.md
- test -f lib/README.md
- test -f docs/README.md