From 735daac19a070b8c58f822e34a62dfafd4db92ff Mon Sep 17 00:00:00 2001 From: Matthieu Pizenberg Date: Tue, 9 Feb 2021 16:25:07 +0100 Subject: [PATCH] Prepare v1 alpha (#58) * Precise that elm-test-rs is for elm 0.19.1 * Update versions --- Cargo.lock | 2 +- Cargo.toml | 2 +- build.rs | 2 +- elm | 2 +- src/deps.rs | 2 +- src/run.rs | 5 ++++- 6 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3745ea2..f192571 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -109,7 +109,7 @@ dependencies = [ [[package]] name = "elm-test-rs" -version = "0.6.1" +version = "1.0.0-alpha" dependencies = [ "anyhow", "atty", diff --git a/Cargo.toml b/Cargo.toml index 7c63e47..237c4b3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "elm-test-rs" -version = "0.6.1" +version = "1.0.0-alpha" authors = ["Matthieu Pizenberg ", "Harry Sarson "] edition = "2018" description = "Simple and fast Rust alternative to node-test-runner to run elm tests" diff --git a/build.rs b/build.rs index 5fc638a..2657701 100644 --- a/build.rs +++ b/build.rs @@ -12,7 +12,7 @@ fn main() { .join("packages") .join("mpizenberg") .join("elm-test-runner") - .join("3.1.1"); + .join("4.0.1"); let elm_stuff = Path::new("elm").join("elm-stuff"); std::fs::remove_dir_all(&elm_stuff) .unwrap_or_else(|_| println!("Error removing elm/elm-stuff")); diff --git a/elm b/elm index 77ff9a0..2edd119 160000 --- a/elm +++ b/elm @@ -1 +1 @@ -Subproject commit 77ff9a01280f80ab19574cd18e44b209e359c105 +Subproject commit 2edd11961287a9bb6b9b40fb7e1690f883093225 diff --git a/src/deps.rs b/src/deps.rs index a2a4e06..ea330c5 100644 --- a/src/deps.rs +++ b/src/deps.rs @@ -206,7 +206,7 @@ fn solve_helper>( let mut deps = direct_deps; deps.insert( "mpizenberg/elm-test-runner".to_string(), - Range::exact((3, 1, 1)), + Range::exact((4, 0, 1)), ); // Add elm/json to the deps since it's used in Runner.elm and Reporter.elm. if !deps.contains_key("elm/json") { diff --git a/src/run.rs b/src/run.rs index f6f7aec..73d7b29 100644 --- a/src/run.rs +++ b/src/run.rs @@ -57,7 +57,10 @@ pub fn main(options: Options) -> anyhow::Result<()> { // Prints to stderr the current version if !options.quiet { - eprintln!("\nelm-test-rs {}", std::env!("CARGO_PKG_VERSION")); + eprintln!( + "\nelm-test-rs {} for elm 0.19.1", + std::env!("CARGO_PKG_VERSION") + ); eprintln!("-----------------\n"); }