2023-12-08 02:15:21 +03:00
|
|
|
distributable:
|
|
|
|
url: https://github.com/quickwit-oss/quickwit/archive/refs/tags/v{{ version }}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/quickwit
|
|
|
|
|
|
|
|
versions:
|
|
|
|
github: quickwit-oss/quickwit
|
|
|
|
strip: /v/
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
# This is a runtime dep since they use protos at runtime:
|
|
|
|
# https://github.com/quickwit-oss/quickwit/blob/main/quickwit/quickwit-proto/protos/quickwit/search.proto
|
|
|
|
protobuf.dev: ^25
|
|
|
|
|
|
|
|
build:
|
|
|
|
working-directory: quickwit/quickwit-cli
|
|
|
|
dependencies:
|
2024-06-17 21:21:09 +03:00
|
|
|
rust-lang.org: ^1.79
|
2023-12-08 02:15:21 +03:00
|
|
|
rust-lang.org/cargo: '*'
|
|
|
|
script:
|
2024-03-19 17:59:22 +03:00
|
|
|
- run: 'sed -i -e''s/ version,$/version: "{{version}}".to_string(),/'' build_info.rs'
|
2023-12-08 02:15:21 +03:00
|
|
|
working-directory: ../quickwit-serve/src
|
|
|
|
- cargo install --locked --path . --root {{prefix}}
|
|
|
|
|
|
|
|
test:
|
|
|
|
script:
|
|
|
|
- quickwit --help
|
|
|
|
- quickwit --version
|
|
|
|
- quickwit --version | grep "{{version}}"
|