mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-15 14:41:14 -03:00
This task is a bit annoying to implement because `sphinx-build` depends on `fish_indent`, so that needs to be built, and the binary location added to `PATH`. Building `fish_indent` can be avoided by setting the `--fish-indent` argument to the path to an existing `fish_indent` executable. Use the new xtask in CMake builds. To do so without having to add configuration options about where to put the docs, or having to copy them from the default location to `build/user_doc`, we instead get rid of the `user_doc` directory and change the code which accesses the docs to read them from the non-configurable default output location in Cargo's target directory. Part of #12292
12 lines
230 B
TOML
12 lines
230 B
TOML
[package]
|
|
name = "xtask"
|
|
version = "0.0.0"
|
|
rust-version.workspace = true
|
|
edition.workspace = true
|
|
repository.workspace = true
|
|
|
|
[dependencies]
|
|
clap.workspace = true
|
|
fish-build-helper.workspace = true
|
|
fish-tempfile.workspace = true
|