mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
+gitopolis (#3300)
* +gitopolis * use https * needs openssl * make and zlib * needs git
This commit is contained in:
parent
002f06476d
commit
badd5a02ae
1 changed files with 52 additions and 0 deletions
52
projects/crates.io/gitopolis/package.yml
Normal file
52
projects/crates.io/gitopolis/package.yml
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
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
|
||||||
|
tea.xyz/gx/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
|
Loading…
Reference in a new issue