Skip to content

Commit

Permalink
contrib: Add container/lru to workspace script.
Browse files Browse the repository at this point in the history
This adds the new container/lru module to the multimod go workspace
setup script and simultaneously removes the old lru module.

It also adds a directive to drop the use of the old lru module from
existing go.work files.
  • Loading branch information
davecgh committed Jun 13, 2024
1 parent 3d189d0 commit 6ac5ab5
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions contrib/dcr_setup_go_workspace.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,14 @@ if [ ! -f "go.work" ]; then
go work init
fi

# Remove old modules as needed
go work edit -dropuse ./lru

# Add all of the modules as needed
go work use . ./addrmgr ./bech32 ./blockchain ./blockchain/stake
go work use ./blockchain/standalone ./certgen ./chaincfg ./chaincfg/chainhash
go work use ./connmgr ./container/apbf ./crypto/blake256 ./crypto/ripemd160
go work use ./database ./dcrec ./dcrec/edwards ./dcrec/secp256k1 ./dcrjson
go work use ./dcrutil ./gcs ./hdkeychain ./lru ./math/uint256 ./mixing ./peer
go work use ./rpc/jsonrpc/types ./rpcclient ./txscript ./wire
go work use ./connmgr ./container/apbf ./container/lru ./crypto/blake256
go work use ./crypto/ripemd160 ./database ./dcrec ./dcrec/edwards
go work use ./dcrec/secp256k1 ./dcrjson ./dcrutil ./gcs ./hdkeychain
go work use ./math/uint256 ./mixing ./peer ./rpc/jsonrpc/types ./rpcclient
go work use ./txscript ./wire

0 comments on commit 6ac5ab5

Please sign in to comment.