Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
CARGO=cargo
PALLET_NAME=${pallet}
OUTPUT_DIR=$(output)

.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 ${PALLET_NAME} ${OUTPUT_DIR}
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