mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-19 18:32:01 +08:00

Some checks are pending
make test / ubuntu (push) Waiting to run
make test / ubuntu-32bit-static-pcre2 (push) Waiting to run
make test / ubuntu-asan (push) Waiting to run
make test / macos (push) Waiting to run
Rust checks / rustfmt (push) Waiting to run
Rust checks / clippy (push) Waiting to run
This can be used to get some information on how fish was built - the
version, the build system, the operating system and architecture, the
features.
(cherry picked from commit 6f9ca42a30
)
16 lines
449 B
Fish
16 lines
449 B
Fish
#RUN: %fish %s
|
|
# Example output:
|
|
# Build system: CMake
|
|
# Version: 3.7.1-2573-gea8301631-dirty
|
|
# Target (and host): x86_64-unknown-linux-gnu
|
|
# Profile: release
|
|
# Features: gettext
|
|
|
|
status buildinfo | grep -v 'Host:'
|
|
# CHECK: Build system: {{CMake|Cargo}}
|
|
# CHECK: Version: {{.+}}
|
|
# (this could be "Target (and Host)" or "Target:" and a separate line "Host:")
|
|
# CHECK: Target{{.*}}: {{.+}}
|
|
# CHECK: Profile: {{release|debug}}
|
|
# CHECK: Features:{{.*}}
|