build: codegen needs to copy to pkg subfolder
The codegen output is moving the apis and client folders to the root folder instead of under pkg. Signed-off-by: Travis Nielsen <tnielsen@redhat.com>
This commit is contained in:
1 file changed
+1
-1
@@ -35,7 +35,7 @@ bash ${codegendir}/generate-groups.sh \
|
||||
"${GROUP_VERSIONS}" \
|
||||
--output-base "${scriptdir}/../../vendor" \
|
||||
--go-header-file "${scriptdir}/boilerplate.go.txt"
|
||||
cp -r "${scriptdir}/../../vendor/github.com/rook/rook/pkg/" "${scriptdir}/../../"
|
||||
cp -r "${scriptdir}/../../vendor/github.com/rook/rook/pkg" "${scriptdir}/../../"
|
||||
|
||||
SED="sed -i.bak"
|
||||
|
||||
|
||||
Reference in new issue
Block a user