Skip to content

Instantly share code, notes, and snippets.

@aeyakovenko
Created March 23, 2018 23:17
Show Gist options
  • Save aeyakovenko/7aabb38b52108fa2fec056ac91e5c9b0 to your computer and use it in GitHub Desktop.
Save aeyakovenko/7aabb38b52108fa2fec056ac91e5c9b0 to your computer and use it in GitHub Desktop.
export RUST_LOG=state=TRACE
export RUST_BACKTRACE=1
all: test
build:
cargo build 2>&1 | head -n 30
loop:
while true; do fswatch -1 -r src; make; done
test: wfmt
cargo test -- --nocapture 2>&1 | head -n 30
clippy:
cargo +nightly clippy
cov:
docker run -it --rm --security-opt seccomp=unconfined --volume "$$PWD:/volume" elmtai/docker-rust-kcov
wfmt:
cargo fmt -- --write-mode=overwrite
release:
cargo build --all-targets --release
node:
cat genesis.log | silk-testnode > transactions0.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment