Commit f60ba8be authored by Mark Tyneway's avatar Mark Tyneway

monorepo: make devnet-up just works

Ensure that the submodules exist as part of the
`make devnet-up` command. This enables somebody
to clone the repo and run a single command to bring
up the entire devnet without needing to worry about
running any other commands. Also replace some calls
in the CI to use `make` instead of `git` directly
for when installing the submodules.
parent 08e1713f
...@@ -922,7 +922,7 @@ jobs: ...@@ -922,7 +922,7 @@ jobs:
working_directory: indexer working_directory: indexer
- run: - run:
name: git submodules name: git submodules
command: git submodule update --init --recursive command: make submodules
- run: - run:
name: generate cannon prestate name: generate cannon prestate
command: make cannon-prestate command: make cannon-prestate
...@@ -997,7 +997,7 @@ jobs: ...@@ -997,7 +997,7 @@ jobs:
key: golang-build-cache key: golang-build-cache
- run: - run:
name: git submodules name: git submodules
command: git submodule update --init --recursive command: make submodules
- run: - run:
name: generate devnet allocs name: generate devnet allocs
command: make devnet-allocs command: make devnet-allocs
...@@ -1056,7 +1056,7 @@ jobs: ...@@ -1056,7 +1056,7 @@ jobs:
npm i pnpm --global npm i pnpm --global
- run: - run:
name: git submodules name: git submodules
command: git submodule update --init --recursive command: make submodules
- run: - run:
name: Install and build name: Install and build
command: | command: |
......
...@@ -110,7 +110,7 @@ nuke: clean devnet-clean ...@@ -110,7 +110,7 @@ nuke: clean devnet-clean
git clean -Xdf git clean -Xdf
.PHONY: nuke .PHONY: nuke
pre-devnet: pre-devnet: submodules
@if ! [ -x "$(command -v geth)" ]; then \ @if ! [ -x "$(command -v geth)" ]; then \
make install-geth; \ make install-geth; \
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment