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:
Travis Nielsen committed 2020-04-15 16:21:50 -06:00
1 parent 753a5f56a6
commit c2878f693e
1 file changed
+1 -1
+1 -1
View File
@@ -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"