Skip to content
Myr

Allow overriding of OUT_DIR in build.rs (#124)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Florian Hofmair · committed by David Peter · parent e0eab07 · Browse files · 1 file+2 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−1 removed

  • other:+2 added−1 removed

1 file+2 added−1 removed

modified:build.rs+2 added-1 removed
4 unmodified lines
56include!("src/app.rs");78fn main() {9 let outdir = match std::env::var_os("OUT_DIR") {9 let var = std::env::var_os("SHELL_COMPLETIONS_DIR").or(std::env::var_os("OUT_DIR"));10 let outdir = match var {11 None => return,12 Some(outdir) => outdir,13 };14
6 unmodified lines