message: chore: add targets to Makefile for dev
diff: @@ -4,6 +4,15 @@ test:
  build-integration-test:
  RUSTFLAGS="--cfg ckb_test" cargo build --all --features integration_test --no-default-features
  +doc:
  + RUSTFLAGS="--cfg ckb_test" cargo doc --all --no-deps
  +
  +doc-deps:
  + RUSTFLAGS="--cfg ckb_test" cargo doc --all
  +
  +check:
  + RUSTFLAGS="--cfg ckb_test" cargo check --all
  +
  build:
  cargo build --release
  @@ -11,7 +20,7 @@ fmt:
  cargo fmt --all -- --check
  clippy:
  - cargo clippy --all -- -D warnings -D clone_on_ref_ptr -D unused_extern_crates -D enum_glob_use
  + RUSTFLAGS="--cfg ckb_test" cargo clippy --all -- -D warnings -D clone_on_ref_ptr -D unused_extern_crates -D enum_glob_use
  ci: fmt clippy test build-integration-test
  git diff --exit-code Cargo.lock
  @@ -27,14 +36,6 @@ info:
  pwd
  env
  -cache-warm:
  - cargo build --target-dir target-cache --tests -p rocksdb -p libp2p
  - rsync -a -f"+ */" -f"- *" target-cache/ target/
  - cd target-cache && find * -type f -exec ln -snf "$$(pwd)/{}" "../target/{}" \;
  -
  -cache-clean:
  - rm -f target-cache/.rustc_info.json
  - @(( "$$(du -sm target-cache | cut -f1)" > 3000 )) && echo "Clean cache since it is larger then 3G!" && rm -rf target-cache && mkdir target-cache || true
  -
  -.PHONY: build build-integration-test fmt test clippy ci ci-quick proto info
  -.PHONY: cache-warm cache-clean
  +.PHONY: build build-integration-test
  +.PHONY: fmt test clippy proto doc doc-deps check
  +.PHONY: ci ci-quick info
  