Skip to content

Commit

Permalink
Merge pull request #9 from galacticcouncil/feat/build_utils
Browse files Browse the repository at this point in the history
feat: build script utils
  • Loading branch information
mrq1911 authored May 28, 2021
2 parents a1c1a02 + c289967 commit 23e8e1b
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 5 deletions.
46 changes: 45 additions & 1 deletion Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ polkadot-test-client = { git = 'https://github.com/paritytech/polkadot', branch
#xcm-builder = { git = 'https://github.com/paritytech/polkadot', branch = "release-v0.9.1" }
#xcm-executor = { git = 'https://github.com/paritytech/polkadot', branch = "release-v0.9.1" }

hydra-dx-build-script-utils = { git = "https://github.com/galacticcouncil/HydraDX-node", branch = "master" }
primitives = { git = "https://github.com/galacticcouncil/HydraDX-node", branch = "master" }
pallet-xyk = { git = "https://github.com/galacticcouncil/HydraDX-node", branch = "master" }
pallet-transaction-multi-payment = { git = "https://github.com/galacticcouncil/HydraDX-node", branch = "master" }
Expand Down
2 changes: 1 addition & 1 deletion node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ name = 'basilisk'
targets = ['x86_64-unknown-linux-gnu']

[build-dependencies]
substrate-build-script-utils = '3.0.0'
hydra-dx-build-script-utils = {version = "1.0.0"}

[dependencies]
codec = {package = 'parity-scale-codec', version = '2.0.0'}
Expand Down
5 changes: 2 additions & 3 deletions node/build.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
use substrate_build_script_utils::{generate_cargo_keys, rerun_if_git_head_changed};
use hydra_dx_build_script_utils::{generate_cargo_keys, rerun_if_git_head_changed};

fn main() {
generate_cargo_keys();

generate_cargo_keys("basilisk-runtime").expect("Failed to generate version metadata");
rerun_if_git_head_changed();
}

0 comments on commit 23e8e1b

Please sign in to comment.