mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
parent
22c9b8e2a4
commit
cac8b7138e
|
@ -1,13 +1,16 @@
|
||||||
distributable:
|
distributable:
|
||||||
url: https://github.com/jdxcode/rtx/archive/refs/tags/v{{version}}.tar.gz
|
url: https://github.com/jdx/mise/archive/refs/tags/v{{version}}.tar.gz
|
||||||
strip-components: 1
|
strip-components: 1
|
||||||
|
|
||||||
provides:
|
# renamed at 2024.1.0
|
||||||
- bin/rtx
|
# provides:
|
||||||
|
# - bin/rtx
|
||||||
|
# - bin/mise
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
github: jdxcode/rtx
|
github: jdx/mise
|
||||||
strip: /v/
|
strip: /v/
|
||||||
|
ignore: [0.x.y, 1.x.y] # they moved to calver
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
openssl.org: ^1.1 # newer RTX after 1.35.2 versions require openssl
|
openssl.org: ^1.1 # newer RTX after 1.35.2 versions require openssl
|
||||||
|
@ -18,11 +21,18 @@ build:
|
||||||
rust-lang.org/cargo: '*'
|
rust-lang.org/cargo: '*'
|
||||||
freedesktop.org/pkg-config: '*'
|
freedesktop.org/pkg-config: '*'
|
||||||
script:
|
script:
|
||||||
cargo install --locked --path . --root {{prefix}}
|
- cargo install --locked --path . --root {{prefix}}
|
||||||
|
# FIXME: <2024 isn't matching like it should. this should be split at 2024.1.0
|
||||||
|
- run: |
|
||||||
|
if test -f rtx; then
|
||||||
|
ln -s rtx mise
|
||||||
|
elif test -f mise; then
|
||||||
|
ln -s mise rtx
|
||||||
|
fi
|
||||||
|
working-directory: '{{prefix}}/bin'
|
||||||
env:
|
env:
|
||||||
linux/x86-64:
|
linux/x86-64:
|
||||||
# portable-atomic-1.3.1 uses this, but it's unstable
|
# portable-atomic-1.3.1 uses this, but it's unstable
|
||||||
RUSTFLAGS: -C target-feature=+cmpxchg16b
|
RUSTFLAGS: -C target-feature=+cmpxchg16b
|
||||||
|
|
||||||
test:
|
test: mise --version
|
||||||
rtx --version
|
|
||||||
|
|
40
projects/mise.jdx.dev/package.yml
Normal file
40
projects/mise.jdx.dev/package.yml
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
distributable:
|
||||||
|
url: https://github.com/jdx/mise/archive/refs/tags/v{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
# renamed at 2024.1.0
|
||||||
|
display-name: mise
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/rtx
|
||||||
|
- bin/mise
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: jdx/mise
|
||||||
|
strip: /v/
|
||||||
|
ignore: [0.x.y, 1.x.y] # they moved to calver
|
||||||
|
|
||||||
|
dependencies:
|
||||||
|
openssl.org: ^1.1 # newer mise after 1.35.2 versions require openssl
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
rust-lang.org: ^1.70
|
||||||
|
rust-lang.org/cargo: '*'
|
||||||
|
freedesktop.org/pkg-config: '*'
|
||||||
|
script:
|
||||||
|
- cargo install --locked --path . --root {{prefix}}
|
||||||
|
# FIXME: <2024 isn't matching like it should. this should be split at 2024.1.0
|
||||||
|
- run: |
|
||||||
|
if test -f rtx; then
|
||||||
|
ln -s rtx mise
|
||||||
|
elif test -f mise; then
|
||||||
|
ln -s mise rtx
|
||||||
|
fi
|
||||||
|
working-directory: '{{prefix}}/bin'
|
||||||
|
env:
|
||||||
|
linux/x86-64:
|
||||||
|
# portable-atomic-1.3.1 uses this, but it's unstable
|
||||||
|
RUSTFLAGS: -C target-feature=+cmpxchg16b
|
||||||
|
|
||||||
|
test: mise --version
|
Loading…
Reference in a new issue