mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 16:35:07 +03:00
update(forge) (#5871)
* update(forge) would benefit from https://github.com/pkgxdev/brewkit/issues/327 * fix test
This commit is contained in:
parent
b5cc3debc8
commit
b65964f694
1 changed files with 11 additions and 8 deletions
|
@ -1,16 +1,18 @@
|
||||||
distributable:
|
distributable:
|
||||||
# FIXME: foundry has releases named "Nightly (YYYY-MM-DD)"
|
# FIXME: foundry has releases named "Nightly (YYYY-MM-DD)"
|
||||||
# but their tags are "nightly-<sha>".
|
# but their tags are "nightly-<sha>".
|
||||||
url: https://github.com/foundry-rs/foundry/archive/refs/tags/nightly-54b369564937f5f5d4f2525622e8b9808b1645f6.tar.gz
|
# url: https://github.com/foundry-rs/foundry/archive/refs/tags/{{version.tag}}.tar.gz
|
||||||
|
url: https://github.com/foundry-rs/foundry/archive/refs/tags/nightly-bdc04c278f8ac716ed5fd3994bc0da841807b5cf.tar.gz
|
||||||
strip-components: 1
|
strip-components: 1
|
||||||
versions:
|
versions:
|
||||||
# FIXME: we should use this, which will get us calver,
|
# this would work with `version.tag`, except they're all pre-releases, which we
|
||||||
# but the tags are just "nightly-<sha>".
|
# ignore
|
||||||
# github: foundry-rs/foundry/releases
|
# FIXME: https://github.com/pkgxdev/brewkit/issues/327
|
||||||
|
# github: foundry-rs/foundry
|
||||||
# strip:
|
# strip:
|
||||||
# - /^Nightly \(/
|
# - /^Nightly \(/
|
||||||
# - /\)$/
|
# - /\)$/
|
||||||
- 2023.12.07
|
- 2024.4.12
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
git-scm.org: ^2
|
git-scm.org: ^2
|
||||||
|
@ -18,7 +20,7 @@ dependencies:
|
||||||
build:
|
build:
|
||||||
dependencies:
|
dependencies:
|
||||||
rust-lang.org: ^1.74 # edition: 2021
|
rust-lang.org: ^1.74 # edition: 2021
|
||||||
rust-lang.org/cargo: "*"
|
rust-lang.org/cargo: '*'
|
||||||
script:
|
script:
|
||||||
# install Forge
|
# install Forge
|
||||||
- cargo install --path ./crates/forge $ARGS
|
- cargo install --path ./crates/forge $ARGS
|
||||||
|
@ -47,10 +49,11 @@ test:
|
||||||
# forge uses git which has minimum config requirements.
|
# forge uses git which has minimum config requirements.
|
||||||
- |
|
- |
|
||||||
git init
|
git init
|
||||||
git config user.email "hello@tea.xyz"
|
git config user.email "hello@pkgx.dev"
|
||||||
git config user.name "teapot"
|
git config user.name "pkgx"
|
||||||
# And forge init requires a clean git repo.
|
# And forge init requires a clean git repo.
|
||||||
- |
|
- |
|
||||||
|
touch README.md
|
||||||
git add -A
|
git add -A
|
||||||
git commit -m "Initial commit"
|
git commit -m "Initial commit"
|
||||||
- forge init hello_foundry
|
- forge init hello_foundry
|
||||||
|
|
Loading…
Reference in a new issue