diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..c1230d4b9 --- /dev/null +++ b/Makefile @@ -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 \ No newline at end of file diff --git a/README.md b/README.md index 138f942aa..fbbe02369 100644 --- a/README.md +++ b/README.md @@ -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