mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
new makefile rule to replace standard mutexes and debug deadlocks
This commit is contained in:
parent
e216cdde48
commit
646c5d14c7
1 changed files with 7 additions and 0 deletions
7
Makefile
7
Makefile
|
@ -39,3 +39,10 @@ bcast_ping:
|
|||
|
||||
release:
|
||||
@./new_release.sh
|
||||
|
||||
deadlock_detect_build:
|
||||
@go get github.com/sasha-s/go-deadlock/...
|
||||
@find . -name "*.go" | xargs sed -i "s/sync.Mutex/deadlock.Mutex/"
|
||||
@goimports -w .
|
||||
@git status
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue