git.delta.rocks / unique-network / refs/commits / cd77dae50bc3

difftreelog

fix code review requests

Grigoriy Simonov2023-09-22parent: #1e4737b.patch.diff
in: master

5 files changed

modified.envrcdiffbeforeafterboth
19 fi19 fi
20}20}
21
22if ! diff .githooks/pre-commit .git/hooks/pre-commit >/dev/null; then
23echo -e "${RED}Hooks are updated, run make git-hooks${RESET}"
24fi
2125
22watch_file .baedeker/.bdk-env/discover.env26watch_file .baedeker/.bdk-env/discover.env
23if test -f .baedeker/.bdk-env/discover.env; then27if test -f .baedeker/.bdk-env/discover.env; then
modified.githooks/pre-commitdiffbeforeafterboth
1#!/bin/bash1#!/usr/bin/env bash
2#2#
3# Pre-push hook verifying that inappropriate code will not be pushed.3# Pre-push hook verifying that inappropriate code will not be pushed.
44
modifiedMakefilediffbeforeafterboth
168clippy:168clippy:
169 cargo clippy --features=quartz-runtime,unique-runtime,try-runtime,runtime-benchmarks --tests169 cargo clippy --features=quartz-runtime,unique-runtime,try-runtime,runtime-benchmarks --tests
170
171.PHONY: git-hooks
172git-hooks:
173 cp .githooks/pre-commit .git/hooks/pre-commit
174
175.PHONY: init
176init:
177 make git-hooks
178 cd tests
179 yarn install
170180
modifiedREADME.mddiffbeforeafterboth
159cd tests && yarn eslint --ext .ts,.js src/159cd tests && yarn eslint --ext .ts,.js src/
160```160```
161161
162### Enable checking of code style on commits
163```bash
164make git-hooks
165```
166
162167
163## Karura token transfer168## Karura token transfer
164169
deletedinit.shdiffbeforeafterboth

no changes