Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
having integration tests with the explorer and jormungandr will always be good anyway, so having a way of launching an explorer in integration tests for the purposes of testing the explorer is something that we probably want. This is a first approximation towards that.
- Loading branch information
1 parent
5de823e
commit 056f2fb
Showing
5 changed files
with
90 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
fn main() { | ||
let jor_cli_name = option_env!("JOR_CLI_NAME").unwrap_or("jcli"); | ||
let jormungandr_name = option_env!("JORMUNGANDR_NAME").unwrap_or("jormungandr"); | ||
let jor_explorer_name = option_env!("JOR_EXPLORER_NAME").unwrap_or("explorer"); | ||
println!("cargo:rustc-env=JOR_CLI_NAME={}", jor_cli_name); | ||
println!("cargo:rustc-env=JORMUNGANDR_NAME={}", jormungandr_name); | ||
println!("cargo:rustc-env=JOR_EXPLORER_NAME={}", jor_explorer_name); | ||
println!("cargo:rustc-env=RUST_BACKTRACE=full"); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters