Skip to content

Commit

Permalink
fix: use prebuilt ory cli and bump ory/x (#2605)
Browse files Browse the repository at this point in the history
Closes #2596
  • Loading branch information
aeneasr committed Jul 5, 2021
1 parent 5796994 commit 0f95e01
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 154 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ GO_DEPENDENCIES = github.com/ory/go-acc \
golang.org/x/tools/cmd/goimports \
github.com/golang/mock/mockgen \
github.com/go-swagger/go-swagger/cmd/swagger \
github.com/ory/cli \
github.com/go-bindata/go-bindata/go-bindata

define make-go-dependency
Expand All @@ -34,6 +33,10 @@ docs/node_modules: docs/package.json
docs/cli: .bin/clidoc
clidoc .

.bin/ory: Makefile
bash <(curl https://raw.githubusercontent.com/ory/cli/master/install.sh) -b .bin v0.0.53
touch -a -m .bin/ory

.PHONY: lint
lint: .bin/golangci-lint
golangci-lint run -v ./...
Expand Down Expand Up @@ -108,7 +111,7 @@ mocks: .bin/mockgen

# Generates the SDKs
.PHONY: sdk
sdk: .bin/cli
sdk: .bin/ory
swagger generate spec -m -o ./spec/api.json -x internal/httpclient -x gopkg.in/square/go-jose.v2
cli dev swagger sanitize ./spec/api.json
swagger flatten --with-flatten=remove-unused -o ./spec/api.json ./spec/api.json
Expand Down
16 changes: 12 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ replace github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2

require (
github.com/DataDog/datadog-go v4.6.0+incompatible // indirect
github.com/HdrHistogram/hdrhistogram-go v1.0.1 // indirect
github.com/cenkalti/backoff/v3 v3.0.0
github.com/containerd/containerd v1.4.4 // indirect
github.com/evanphx/json-patch v0.5.2
Expand All @@ -30,28 +31,31 @@ require (
github.com/gobuffalo/pop/v5 v5.3.4
github.com/gobuffalo/x v0.0.0-20181007152206-913e47c59ca7
github.com/gobwas/glob v0.2.3
github.com/gogo/protobuf v1.3.1 // indirect
github.com/golang/mock v1.5.0
github.com/golang/protobuf v1.5.1 // indirect
github.com/google/uuid v1.2.0
github.com/gorilla/securecookie v1.1.1
github.com/gorilla/sessions v1.2.0
github.com/gtank/cryptopasta v0.0.0-20170601214702-1f550f6f2f69
github.com/hashicorp/go-hclog v0.12.0 // indirect
github.com/jackc/pgx/v4 v4.11.0
github.com/jmoiron/sqlx v1.3.3
github.com/julienschmidt/httprouter v1.3.0
github.com/luna-duclos/instrumentedsql v1.1.3
github.com/luna-duclos/instrumentedsql/opentracing v0.0.0-20201103091713-40d03108b6f4
github.com/mattn/go-colorable v0.1.7 // indirect
github.com/mattn/go-runewidth v0.0.4 // indirect
github.com/mattn/goveralls v0.0.7 // indirect
github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826
github.com/oleiade/reflections v1.0.1
github.com/olekukonko/tablewriter v0.0.1
github.com/ory/analytics-go/v4 v4.0.1
github.com/ory/cli v0.0.49
github.com/ory/fosite v0.40.2
github.com/ory/go-acc v0.2.6
github.com/ory/graceful v0.1.1
github.com/ory/herodot v0.9.3
github.com/ory/x v0.0.244
github.com/ory/herodot v0.9.6
github.com/ory/x v0.0.258
github.com/pborman/uuid v1.2.1
github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2
github.com/philhofer/fwd v1.1.1 // indirect
Expand All @@ -63,16 +67,20 @@ require (
github.com/rubenv/sql-migrate v0.0.0-20190212093014-1007f53448d7
github.com/sawadashota/encrypta v0.0.2
github.com/sirupsen/logrus v1.8.1
github.com/spaolacci/murmur3 v1.1.0 // indirect
github.com/spf13/cobra v1.1.3
github.com/sqs/goreturns v0.0.0-20181028201513-538ac6014518 // indirect
github.com/stretchr/testify v1.7.0
github.com/tidwall/gjson v1.7.1
github.com/toqueteos/webbrowser v1.2.0
github.com/uber/jaeger-lib v2.4.0+incompatible // indirect
github.com/urfave/negroni v1.0.0
go.uber.org/automaxprocs v1.3.0
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2
golang.org/x/net v0.0.0-20210316092652-d523dce5a7f4 // indirect
golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5
golang.org/x/sys v0.0.0-20210319071255-635bc2c9138d // indirect
golang.org/x/tools v0.1.0
google.golang.org/genproto v0.0.0-20210318145829-90b20ab00860 // indirect
gopkg.in/DataDog/dd-trace-go.v1 v1.27.1
gopkg.in/square/go-jose.v2 v2.5.1
)

0 comments on commit 0f95e01

Please sign in to comment.