mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2025-12-23 22:29:59 -05:00
Fix some naming issues to make make generate work again
This commit is contained in:
4
Makefile
4
Makefile
@@ -64,8 +64,8 @@ OC_MODULES = \
|
||||
services/web \
|
||||
services/webdav\
|
||||
services/webfinger\
|
||||
ocis \
|
||||
ocis-pkg
|
||||
opencloud \
|
||||
pkg
|
||||
|
||||
# bin file definitions
|
||||
PHP_CS_FIXER=php -d zend.enable_gc=0 vendor-bin/owncloud-codestyle/vendor/bin/php-cs-fixer
|
||||
|
||||
@@ -4,6 +4,6 @@ dir: "{{.PackageName}}/mocks"
|
||||
mockname: "{{.InterfaceName}}"
|
||||
outpkg: "mocks"
|
||||
packages:
|
||||
github.com/opencloud-eu/opencloud/ocis-pkg/oidc:
|
||||
github.com/opencloud-eu/opencloud/pkg/oidc:
|
||||
interfaces:
|
||||
OIDCClient:
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -3,7 +3,7 @@ filename: "{{.InterfaceName | snakecase }}.go"
|
||||
mockname: "{{.InterfaceName}}"
|
||||
outpkg: "mocks"
|
||||
packages:
|
||||
github.com/opencloud-eu/opencloud/ocis-pkg/keycloak:
|
||||
github.com/opencloud-eu/opencloud/pkg/keycloak:
|
||||
config:
|
||||
dir: "pkg/backends/keycloak/mocks"
|
||||
interfaces:
|
||||
|
||||
@@ -5,8 +5,8 @@ package mocks
|
||||
import (
|
||||
context "context"
|
||||
|
||||
libregraph "github.com/owncloud/libre-graph-api-go"
|
||||
keycloak "github.com/opencloud-eu/opencloud/pkg/keycloak"
|
||||
libregraph "github.com/owncloud/libre-graph-api-go"
|
||||
|
||||
mock "github.com/stretchr/testify/mock"
|
||||
)
|
||||
|
||||
@@ -26,7 +26,7 @@ include ../../.make/generate.mk
|
||||
.PHONY: ci-go-generate
|
||||
ci-go-generate: $(PIGEON) $(MOCKERY) # CI runs ci-node-generate automatically before this target
|
||||
$(MOCKERY)
|
||||
$(PIGEON) -optimize-grammar -optimize-parser -o ../../ocis-pkg/kql/dictionary_gen.go ../../ocis-pkg/kql/dictionary.peg
|
||||
$(PIGEON) -optimize-grammar -optimize-parser -o ../../pkg/kql/dictionary_gen.go ../../pkg/kql/dictionary.peg
|
||||
|
||||
.PHONY: ci-node-generate
|
||||
ci-node-generate:
|
||||
|
||||
Reference in New Issue
Block a user