-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow go run github.com/polymerdao/monomer/cmd/monogen
- Loading branch information
Showing
4 changed files
with
677 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# monogen | ||
|
||
We want this to be a separate go module so it can have a `go.mod` without replace directives, permitting a nice `go run` developer experience. | ||
Ideally, the `github.com/polymerdao/monomer/monogen` package would be a module, but we created that before thinking it would be a module. | ||
We can't retroactively make that package a module since that would cause a the top-level `github.com/polymerdao/monomer/monogen` package to be in two modules (past versions of the `github.com/polymerdao/monomer` module and current versions of the hypothetical `github.com/polyerdao/monomer/monogen` module). | ||
As a result, we settle for creating a separate `github.com/polymerdao/monomer/cmd/monogen` module. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
module github.com/polymerdao/monomer/cmd/monogen | ||
|
||
go 1.22.0 | ||
|
||
require ( | ||
github.com/polymerdao/monomer v0.0.0-20241016225135-dcd82b847b30 | ||
github.com/spf13/cobra v1.8.1 | ||
) | ||
|
||
require ( | ||
cosmossdk.io/api v0.7.5 // indirect | ||
cosmossdk.io/collections v0.4.0 // indirect | ||
cosmossdk.io/core v0.11.1 // indirect | ||
cosmossdk.io/depinject v1.0.0 // indirect | ||
cosmossdk.io/errors v1.0.1 // indirect | ||
cosmossdk.io/log v1.3.1 // indirect | ||
cosmossdk.io/math v1.3.0 // indirect | ||
cosmossdk.io/store v1.1.0 // indirect | ||
cosmossdk.io/x/tx v0.13.4 // indirect | ||
github.com/DataDog/zstd v1.5.5 // indirect | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/btcsuite/btcd/btcec/v2 v2.3.2 // indirect | ||
github.com/cespare/xxhash v1.1.0 // indirect | ||
github.com/cespare/xxhash/v2 v2.3.0 // indirect | ||
github.com/cockroachdb/errors v1.11.1 // indirect | ||
github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b // indirect | ||
github.com/cockroachdb/pebble v1.1.0 // indirect | ||
github.com/cockroachdb/redact v1.1.5 // indirect | ||
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect | ||
github.com/cometbft/cometbft v0.38.10 // indirect | ||
github.com/cometbft/cometbft-db v0.9.1 // indirect | ||
github.com/cosmos/btcutil v1.0.5 // indirect | ||
github.com/cosmos/cosmos-db v1.0.2 // indirect | ||
github.com/cosmos/cosmos-proto v1.0.0-beta.5 // indirect | ||
github.com/cosmos/cosmos-sdk v0.50.9 // indirect | ||
github.com/cosmos/gogoproto v1.5.0 // indirect | ||
github.com/cosmos/ics23/go v0.10.0 // indirect | ||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect | ||
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 // indirect | ||
github.com/dgraph-io/badger/v2 v2.2007.4 // indirect | ||
github.com/dgraph-io/ristretto v0.1.1 // indirect | ||
github.com/dgryski/go-farm v0.0.0-20200201041132-a6ae2369ad13 // indirect | ||
github.com/dustin/go-humanize v1.0.1 // indirect | ||
github.com/ethereum/go-ethereum v1.13.11 // indirect | ||
github.com/getsentry/sentry-go v0.27.0 // indirect | ||
github.com/go-kit/kit v0.12.0 // indirect | ||
github.com/go-kit/log v0.2.1 // indirect | ||
github.com/go-logfmt/logfmt v0.6.0 // indirect | ||
github.com/gogo/protobuf v1.3.2 // indirect | ||
github.com/golang/glog v1.2.0 // indirect | ||
github.com/golang/protobuf v1.5.4 // indirect | ||
github.com/golang/snappy v0.0.5-0.20220116011046-fa5810519dcb // indirect | ||
github.com/google/btree v1.1.2 // indirect | ||
github.com/google/go-cmp v0.6.0 // indirect | ||
github.com/hashicorp/errwrap v1.1.0 // indirect | ||
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect | ||
github.com/hashicorp/go-metrics v0.5.3 // indirect | ||
github.com/hashicorp/go-multierror v1.1.1 // indirect | ||
github.com/hashicorp/golang-lru v1.0.2 // indirect | ||
github.com/holiman/uint256 v1.2.4 // indirect | ||
github.com/iancoleman/strcase v0.3.0 // indirect | ||
github.com/inconshreveable/mousetrap v1.1.0 // indirect | ||
github.com/jmhodges/levigo v1.0.0 // indirect | ||
github.com/klauspost/compress v1.17.9 // indirect | ||
github.com/kr/pretty v0.3.1 // indirect | ||
github.com/kr/text v0.2.0 // indirect | ||
github.com/linxGnu/grocksdb v1.8.14 // indirect | ||
github.com/mattn/go-colorable v0.1.13 // indirect | ||
github.com/mattn/go-isatty v0.0.20 // indirect | ||
github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a // indirect | ||
github.com/petermattis/goid v0.0.0-20231207134359-e60b3f734c67 // indirect | ||
github.com/pkg/errors v0.9.1 // indirect | ||
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect | ||
github.com/prometheus/client_golang v1.19.1 // indirect | ||
github.com/prometheus/client_model v0.6.1 // indirect | ||
github.com/prometheus/common v0.53.0 // indirect | ||
github.com/prometheus/procfs v0.15.0 // indirect | ||
github.com/rogpeppe/go-internal v1.12.0 // indirect | ||
github.com/rs/zerolog v1.32.0 // indirect | ||
github.com/sasha-s/go-deadlock v0.3.1 // indirect | ||
github.com/spf13/cast v1.6.0 // indirect | ||
github.com/spf13/pflag v1.0.5 // indirect | ||
github.com/stretchr/testify v1.9.0 // indirect | ||
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect | ||
github.com/tendermint/go-amino v0.16.0 // indirect | ||
go.etcd.io/bbolt v1.3.9 // indirect | ||
golang.org/x/crypto v0.25.0 // indirect | ||
golang.org/x/exp v0.0.0-20240613232115-7f521ea00fb8 // indirect | ||
golang.org/x/mod v0.18.0 // indirect | ||
golang.org/x/net v0.27.0 // indirect | ||
golang.org/x/sys v0.22.0 // indirect | ||
golang.org/x/text v0.16.0 // indirect | ||
google.golang.org/genproto/googleapis/api v0.0.0-20240617180043-68d350f18fd4 // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20240709173604-40e1e62336c5 // indirect | ||
google.golang.org/grpc v1.64.1 // indirect | ||
google.golang.org/protobuf v1.34.2 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
sigs.k8s.io/yaml v1.4.0 // indirect | ||
) |
Oops, something went wrong.