Skip to content

Commit

Permalink
fix: improved build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Tjemmmic committed Dec 11, 2024
1 parent ed475b2 commit bd94fce
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 16 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ gennaro-dkg = { version = "0.8.0", features = ["curve25519"]}

[build-dependencies]
blueprint-metadata = { git = "https://github.com/tangle-network/gadget.git" }
blueprint-build-utils = { git = "https://github.com/tangle-network/gadget.git" }

[dev-dependencies]
blueprint-test-utils = { git = "https://github.com/tangle-network/gadget.git" }
Expand Down
4 changes: 4 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@ fn main() {
println!("cargo:rerun-if-changed=src/lib.rs");
println!("cargo:rerun-if-changed=src/main.rs");
blueprint_metadata::generate_json();

let contract_dirs: Vec<&str> = vec!["./contracts"];
blueprint_build_utils::soldeer_update();
blueprint_build_utils::build_contracts(contract_dirs);
}
13 changes: 0 additions & 13 deletions cargo-generate.toml

This file was deleted.

1 change: 0 additions & 1 deletion contracts/soldeer.lock

This file was deleted.

4 changes: 2 additions & 2 deletions soldeer.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[[dependencies]]
name = "tnt-core"
version = "0.1.0"
source = "https://soldeer-revisions.s3.amazonaws.com/tnt-core/0_1_0_10-12-2024_20:51:20_tnt-core.zip"
url = "https://soldeer-revisions.s3.amazonaws.com/tnt-core/0_1_0_10-12-2024_20:51:20_tnt-core.zip"
checksum = "628b2475c4d629c1cb2578b41b2e10daa3711d711aa5f5b0dd6153959808620f"
integrity = "c50fcfff192fe4e78a0fb521ee6a7412ebd1975fb6c47978ea38666249608cc7"
integrity = "c380cd3e1def40cd40d70db357afdca4efba79d2561f850f05f395dc634a774e"

0 comments on commit bd94fce

Please sign in to comment.