Skip to content

Commit

Permalink
Added version check and bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
LucaCappelletti94 committed Apr 16, 2024
1 parent a1abb01 commit 33ae6f7
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 5 deletions.
14 changes: 10 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ minify_sql.workspace = true
load_sql_proc.workspace = true
minify_sql_proc.workspace = true

[dev-dependencies]
version-sync = "0.9"

[workspace.package]
version = "0.1.3"
version = "0.1.4"
readme = "README.md"
edition = "2018"
license = "GPL-3.0"
Expand All @@ -26,9 +29,12 @@ authors = ["Marco Visani", "Luca Cappelletti"]
keywords = ["sql", "minifier", "compression", "database", "macro"]

[workspace.dependencies]
minify_sql = { version = "0.1.3" }
load_sql_proc = { version = "0.1.3" }
minify_sql_proc = { version = "0.1.3" }
#minify_sql = { version = "0.1.4" }
minify_sql = { path = "minify_sql" }
#load_sql_proc = { version = "0.1.4" }
load_sql_proc = { path = "load_sql_proc" }
#minify_sql_proc = { version = "0.1.4" }
minify_sql_proc = { path = "minify_sql_proc" }
quote = "1.0.36"
regex = "1.10.4"
syn = "2.0.59"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ It removes both single-line `--` and multi-line `/* ... */` comments, unnecessar
Add the following to your `Cargo.toml` file:
```toml
[dependencies]
sql_minifier = "0.1.2"
sql_minifier = "0.1.4"
```

or use the following command:
Expand Down
9 changes: 9 additions & 0 deletions tests/test_version.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#[test]
fn test_readme_deps() {
version_sync::assert_markdown_deps_updated!("README.md");
}

#[test]
fn test_html_root_url() {
version_sync::assert_html_root_url_updated!("src/lib.rs");
}

0 comments on commit 33ae6f7

Please sign in to comment.