Skip to content

Commit

Permalink
Merge pull request ipfs-force-community#152 from ipfs-force-community…
Browse files Browse the repository at this point in the history
…/chore/dtynn/preparation_of_dev_env

chore(Makefile): add more actions in command dev-env
  • Loading branch information
dtynn authored May 10, 2022
2 parents 9c1beef + 86f3907 commit 2fbfa1b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,5 @@ dist-clean:

dev-env:
ln -s ../../.githooks/pre-push ./.git/hooks/pre-push
$(MAKE) -C ./venus-sector-manager/ dev-env
$(MAKE) -C ./venus-worker/ dev-env
3 changes: 3 additions & 0 deletions venus-sector-manager/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,6 @@ check-lint: $(BUILD_DEPS)

check-go-mod:
go mod tidy

dev-env:
go install -v github.com/golangci/golangci-lint/cmd/[email protected]
3 changes: 3 additions & 0 deletions venus-worker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ clippy:

check-clippy:
cargo clippy --no-deps -- -D warnings

dev-env:
rustup component add --toolchain $(shell cat rust-toolchain) rls rust-analysis rust-src rustc-dev clippy rustfmt

0 comments on commit 2fbfa1b

Please sign in to comment.