2023-09-13 22:30:07 +03:00
|
|
|
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
|
2024-02-02 04:06:07 +03:00
|
|
|
libgit2.org: ~1.7
|
2023-09-13 22:30:07 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
rust-lang.org: ^1.70
|
|
|
|
rust-lang.org/cargo: '*'
|
|
|
|
freedesktop.org/pkg-config: ^0
|
2023-10-12 04:00:07 +03:00
|
|
|
gnu.org/make: '*'
|
2023-09-13 22:30:07 +03:00
|
|
|
script: cargo install --locked --root {{prefix}} --path .
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/gitopolis
|
|
|
|
|
|
|
|
test:
|
|
|
|
fixture: |
|
|
|
|
[[repos]]
|
|
|
|
path = "cli"
|
|
|
|
tags = ["cli"]
|
|
|
|
[repos.remotes.origin]
|
|
|
|
name = "origin"
|
2024-02-02 05:53:56 +03:00
|
|
|
url = "https://github.com/pkgxdev/pkgx"
|
2023-09-13 22:30:07 +03:00
|
|
|
|
|
|
|
[[repos]]
|
|
|
|
path = "lib"
|
|
|
|
tags = ["cli", "lib"]
|
|
|
|
[repos.remotes.origin]
|
|
|
|
name = "origin"
|
2024-02-02 05:53:56 +03:00
|
|
|
url = "https://github.com/pkgxdev/libpkgx"
|
2023-09-13 22:30:07 +03:00
|
|
|
|
|
|
|
[[repos]]
|
|
|
|
path = "docs"
|
|
|
|
tags = ["docs"]
|
|
|
|
[repos.remotes.origin]
|
|
|
|
name = "origin"
|
2024-02-02 05:53:56 +03:00
|
|
|
url = "https://github.com/pkgxdev/brewkit"
|
2023-09-13 22:30:07 +03:00
|
|
|
script:
|
|
|
|
- cp $FIXTURE .gitopolis.toml
|
|
|
|
- gitopolis clone
|
|
|
|
- test -f cli/README.md
|
|
|
|
- test -f lib/README.md
|
|
|
|
- test -f docs/README.md
|