Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closes #51 - Add basic makefile #57

Merged
merged 7 commits into from
Dec 3, 2019
Merged
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
18 changes: 18 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
clean-all:
cargo clean

clean:
cargo clean -p node
cargo clean -p address
cargo clean -p crypto
cargo clean -p blockchain

lint: clean
cargo fmt
cargo clippy -- -D warnings

build:
cargo build

release:
cargo build --release
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
A Filecoin implenetation written in Rust.

### Run
1. `cargo run --bin node`
2. `./target/debug/node --help`
1. `make build`
2. `./target/debug/node --help`

### Before Making a PR
1. `make lint`