Skip to content

Commit

Permalink
created a makefile to allow make commands and updated readMe
Browse files Browse the repository at this point in the history
  • Loading branch information
bolajahmad committed Jan 9, 2023
1 parent a4ff539 commit 2b7405d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
19 changes: 19 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
CARGO=cargo

.PHONY: init
init:
./scripts/init.sh

.PHONY: build
build:
${CARGO} build --release
build-runtime:
./scripts/build-runtime.sh

.PHONY: compare
compare-ordering:
./scripts/manual-compare-ordering.sh

.PHONY: benchmark
benchmark:
./scripts/run-benchmark-on.sh
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ For Linux, FreeBSD, OpenBSD, and macOS:
```sh
git clone https://github.com/dappforce/subsocial-parachain
cd subsocial-parachain/
sh scripts/init.sh
cargo build --release
make init
make build
```

## Run
Expand Down

0 comments on commit 2b7405d

Please sign in to comment.