Skip to content

Commit

Permalink
Change git submodule to cargo dependencies (#5)
Browse files Browse the repository at this point in the history
* adding dependencies

* removing submodule
  • Loading branch information
zhenfeizhang authored Apr 20, 2021
1 parent 1bc228c commit a1322a9
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 17 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "orml"]
path = orml
url = [email protected]:open-web3-stack/open-runtime-module-library.git
13 changes: 4 additions & 9 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion orml
Submodule orml deleted from 57af18
2 changes: 1 addition & 1 deletion runtimes/manta-pc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ polkadot-test-service = { git = "https://github.com/paritytech/polkadot", branch
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", branch = "rococo-v1" }

# orml dependencies
orml-tokens = { path = "../../orml/tokens", default-features = false }
orml-tokens = { package = "orml-tokens", git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false }

[build-dependencies]
substrate-build-script-utils = { git = "https://github.com/paritytech/substrate", branch = "rococo-v1" }
Expand Down
6 changes: 3 additions & 3 deletions runtimes/manta-pc/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ xcm-builder = { git = "https://github.com/paritytech/polkadot", default-features
xcm-executor = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "rococo-v1" }

# orml dependencies
orml-currencies = { path = "../../../orml/currencies", default-features = false }
orml-tokens = { path = "../../../orml/tokens", default-features = false }
orml-traits = { path = "../../../orml/traits", default-features = false }
orml-tokens = { package = "orml-tokens", git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false }
orml-currencies = { package = "orml-currencies", git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false }
orml-traits = { package = "orml-traits", git = "https://github.com/open-web3-stack/open-runtime-module-library.git", default-features = false }

[build-dependencies]
substrate-wasm-builder = "3.0.0"
Expand Down

0 comments on commit a1322a9

Please sign in to comment.