Skip to content

Commit

Permalink
Prepare v1 alpha (#58)
Browse files Browse the repository at this point in the history
* Precise that elm-test-rs is for elm 0.19.1

* Update versions
  • Loading branch information
mpizenberg authored Feb 9, 2021
1 parent 239619c commit 735daac
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "elm-test-rs"
version = "0.6.1"
version = "1.0.0-alpha"
authors = ["Matthieu Pizenberg <[email protected]>", "Harry Sarson <[email protected]>"]
edition = "2018"
description = "Simple and fast Rust alternative to node-test-runner to run elm tests"
Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down
2 changes: 1 addition & 1 deletion src/deps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ fn solve_helper<P: AsRef<Path>>(
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") {
Expand Down
5 changes: 4 additions & 1 deletion src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down

0 comments on commit 735daac

Please sign in to comment.