lotabout.skim/tests/common/mod.rs
LoricAndre 9d12e9d420
feat: windows support (#1010)
* wip: windows support

* feat: windows support

* feat: add windows target to CI

* chore: generate completions & manpage

* Update src/util.rs

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: cleanup & doc

* chore: generate completions & manpage

* chore: generate dist

* fix: reduplicate default test

* chore: regate tmux

* chore: remove useless test-utils feature

* fix(windows): ignore dirs in default_command

* docs: update shell docs for windows

* chore: generate completions & manpage

* chore(justfile): do not ignore failed tests

* fix: upload correct junit after profile change

* fix: always execute exit commands

* fix: windows-specific ctrl-c handling

* chore: misc docs & other updates

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: generate completions & manpage

* chore: include license in MSI installer

---------

Co-authored-by: Skim bot <skim-bot@skim-rs.github.io>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Your Name <you@example.com>
2026-03-29 21:46:42 +00:00

26 lines
1.2 KiB
Rust

#[macro_use]
pub mod insta;
#[macro_use]
#[cfg(unix)]
pub mod tmux;
#[cfg(all(unix, debug_assertions, coverage))]
pub static SK: &str =
"SKIM_DEFAULT_OPTIONS= SKIM_DEFAULT_COMMAND= SKIM_OPTIONS_FILE= ./target/llvm-cov-target/debug/sk";
#[cfg(all(unix, debug_assertions, not(coverage)))]
pub static SK: &str = "SKIM_DEFAULT_OPTIONS= SKIM_DEFAULT_COMMAND= SKIM_OPTIONS_FILE= ./target/debug/sk";
#[cfg(all(unix, not(debug_assertions), coverage))]
pub static SK: &str =
"SKIM_DEFAULT_OPTIONS= SKIM_DEFAULT_COMMAND= SKIM_OPTIONS_FILE= ./target/llvm-cov-target/release/sk";
#[cfg(all(unix, not(debug_assertions), not(coverage)))]
pub static SK: &str = "SKIM_DEFAULT_OPTIONS= SKIM_DEFAULT_COMMAND= SKIM_OPTIONS_FILE= ./target/release/sk";
#[cfg(all(windows, debug_assertions, coverage))]
pub static SK: &str = r".\target\llvm-cov-target\debug\sk.exe";
#[cfg(all(windows, debug_assertions, not(coverage)))]
pub static SK: &str = r".\target\debug\sk.exe";
#[cfg(all(windows, not(debug_assertions), coverage))]
pub static SK: &str = r".\target\llvm-cov-target\release\sk.exe";
#[cfg(all(windows, not(debug_assertions), not(coverage)))]
pub static SK: &str = r".\target\release\sk.exe";