Add build script for diesel_migrations
This commit is contained in:
@@ -3,6 +3,7 @@ name = "libretunes"
|
|||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
authors = ["Ethan Girouard"]
|
authors = ["Ethan Girouard"]
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
|
build = "src/build.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
diesel = { version = "2.3.10", optional = true, features = [ "postgres" ] }
|
diesel = { version = "2.3.10", optional = true, features = [ "postgres" ] }
|
||||||
|
|||||||
3
src/build.rs
Normal file
3
src/build.rs
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
fn main() {
|
||||||
|
println!("cargo:rerun-if-changed=migrations");
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user