Skip to content

Commit

Permalink
docs(logic): update make documentation on README
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeneux committed Feb 6, 2023
1 parent 8640119 commit be5a6aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ chain-stop: ## Stop the blockchain
@echo "${COLOR_CYAN} ✋️ Stopping chain ${COLOR_RESET}${CHAIN}${COLOR_CYAN} with configuration ${COLOR_YELLOW}${CHAIN_HOME}${COLOR_RESET}"
@killall okp4d

chain-upgrade: build
chain-upgrade: build ## Test the chain upgrade from the given FROM_VERSION to the given TO_VERSION
@echo "${COLOR_CYAN} ⬆️ Upgrade the chain ${COLOR_RESET}${CHAIN}${COLOR_CYAN} from ${COLOR_YELLOW}${FROM_VERSION}${COLOR_RESET}${COLOR_CYAN} to ${COLOR_YELLOW}${TO_VERSION}${COLOR_RESET}"
@killall cosmovisor || \
rm -rf ${TARGET_FOLDER}/${FROM_VERSION}; \
Expand Down
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,10 +127,7 @@ OKP4 blockchain and hosted in the [okp4/contracts](https://github.com/okp4/contr
The project comes with a convenient `Makefile` that helps you to build, install, lint and test the project.

```text
$ make help
Usage:
make <target>
$ make <target>
Targets:
Lint:
Expand All @@ -154,6 +151,7 @@ Targets:
chain-init Initialize the blockchain with default settings.
chain-start Start the blockchain with existing configuration (see chain-init)
chain-stop Stop the blockchain
chain-upgrade Test the chain upgrade from the given FROM_VERSION to the given TO_VERSION
Clean:
clean Remove all the files from the target folder
Proto:
Expand All @@ -172,7 +170,6 @@ Targets:
Help:
help Show this help.
This Makefile depends on docker. To install it, please follow the instructions:
- for macOS: https://docs.docker.com/docker-for-mac/install/
- for Windows: https://docs.docker.com/docker-for-windows/install/
Expand Down

0 comments on commit be5a6aa

Please sign in to comment.