mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-23 00:21:38 +03:00
remove register app build from build.rs (it's too slow!) and add it to readme instead
This commit is contained in:
parent
f1a0c5d669
commit
47f7f5eecb
@ -23,14 +23,12 @@ cargo install --git https://github.com/bytecodealliance/cargo-component --locked
|
||||
|
||||
# Initialize submodules, in particular the register app
|
||||
git submodule update --init --recursive
|
||||
# Build the register app
|
||||
cd src/register && ./build_all.sh && cd ../..
|
||||
|
||||
# Build the runtime, along with a number of booted-at-startup WASM modules including terminal and key_value
|
||||
# OPTIONAL: --release flag
|
||||
cargo +nightly build --release
|
||||
|
||||
# Create the home directory for your node
|
||||
# If you boot multiple nodes, make sure each has their own home directory.
|
||||
mkdir home
|
||||
```
|
||||
|
||||
### Boot
|
||||
|
3
build.rs
3
build.rs
@ -131,9 +131,6 @@ fn main() {
|
||||
|
||||
let pwd = std::env::current_dir().unwrap();
|
||||
|
||||
// build the register app
|
||||
run_command(Command::new("./build_all.sh").current_dir("src/register")).unwrap();
|
||||
|
||||
// create target.wasm (compiled .wit) & world
|
||||
run_command(Command::new("wasm-tools").args(&[
|
||||
"component",
|
||||
|
Loading…
Reference in New Issue
Block a user