This website requires JavaScript.
Explore
Help
Sign In
blockworks-foundation
/
pyth-crosschain
mirror of
https://github.com/blockworks-foundation/pyth-crosschain.git
Watch
1
Star
0
Fork
You've already forked pyth-crosschain
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
52562cacb0
pyth-crosschain
/
node
/
tools
/
tools.go
9 lines
99 B
Go
Raw
Normal View
History
Unescape
Escape
node: rename bridge/ to node/ Calling guardiand a bridge dates back to v1 and no longer makes sense. Change-Id: I27d24a5d7a64c3e37d6a5ce9c402c6248ad9c59e
2021-08-26 01:35:09 -07:00
//go:build tools
tools: specify build tag to remove IntelliJ error Change-Id: Ieef26a1f13290e51ebb6da387c3fdfd47f77c6e5
2021-07-20 13:24:22 -07:00
// +build tools
bridge: migrate cmd/ to cobra Reviewer note: Does not touch any of the business logic. Avoided renaming files whereever possible to make it easier to spot differences. Verbatim migration, in a future CL, we could replace some of the flag validation code with cobra features and eliminate the global vars. Moved the dlv tool definition out of the way for the top-level wrapper. tools/bin/cobra is a helper utility that generates boilerplate (we slightly deviate from their default scheme by having guardiand in a separate package, rather than stuffing everything into cmd/) ghstack-source-id: caec9a38a69c9c5b1baa982074b3375d153718e1 Pull Request resolved: https://github.com/certusone/wormhole/pull/67
2020-10-28 14:41:38 -07:00
package
tools
bridge: in-place debugging using dlv Optional support for in-place debugging using an external IDE debugger. Disabled by default. The dlv binary is always compiled in the Dockerfile - this is cheap due to it only depending on go.mod. ghstack-source-id: 58532e3017bb1de7a5117dc0c76376a9b526ce54 Pull Request resolved: https://github.com/certusone/wormhole/pull/44
2020-10-22 03:20:11 -07:00
import
(
tools.go: . -> _ import
2020-10-22 03:28:21 -07:00
_
"github.com/go-delve/delve/cmd/dlv"
bridge: in-place debugging using dlv Optional support for in-place debugging using an external IDE debugger. Disabled by default. The dlv binary is always compiled in the Dockerfile - this is cheap due to it only depending on go.mod. ghstack-source-id: 58532e3017bb1de7a5117dc0c76376a9b526ce54 Pull Request resolved: https://github.com/certusone/wormhole/pull/44
2020-10-22 03:20:11 -07:00
)