app-misc/watchexec: fix test file for release build

Closes: https://bugs.gentoo.org/855326
Signed-off-by: YOSHIOKA Takuma <lo48576@hard-wi.red>
This commit is contained in:
YOSHIOKA Takuma
2022-07-01 00:10:04 +09:00
parent 0afcb0c0d3
commit f96e664d9b

View File

@@ -318,6 +318,14 @@ HTML_DOCS=( doc/watchexec.1.html )
QA_FLAGS_IGNORED="usr/bin/watchexec"
src_prepare() {
default_src_prepare
# Not using `.patch` file since this the file contains the version number.
sed -e '/^⚠ DEBUG BUILD ⚠$/,+1d' -i "${S}"/crates/cli/tests/snapshots/help__help_unix.snap
}
src_compile() {
cargo_src_compile --manifest-path=crates/cli/Cargo.toml
}