Skip to content

Commit

Permalink
change permission for build directory instead of _generated
Browse files Browse the repository at this point in the history
  • Loading branch information
janakiramanmesh7 committed Jan 16, 2023
1 parent cada720 commit 7174799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ generate_code:
@echo "Copying generated_base_structure to create directory structure"
@echo "COMPILER_SRC_DIRECTORY: ${COMPILER_SRC_DIRECTORY}"
cp -R _generated_base_structure _generated
chmod -R 0775 _generated
@echo "Copying go.mod file of datamodel"
cp ${DATAMODEL_PATH}/go.mod _generated/go.mod
sed -i'.bak' -e "1s|.*|module nexustempmodule|" _generated/go.mod
Expand Down Expand Up @@ -186,6 +185,7 @@ generate_code:
@echo "Nexus Compiler: Moving files to output directory"
cp -r _generated/{client,apis,crds,common,nexus-client,helper,nexus-gql} ${GENERATED_OUTPUT_DIRECTORY}
cp -r ${GOPATH}/src/nexustempmodule/nexus-gql/graphql.so ${GENERATED_OUTPUT_DIRECTORY}/nexus-gql
chmod -R 0755 ${GENERATED_OUTPUT_DIRECTORY}
mkdir -p ${GENERATED_OUTPUT_DIRECTORY}/install-validator
cp -r ${GOPATH}/src/github.com/vmware-tanzu/graph-framework-for-microservices/install-validator/install.so ${GENERATED_OUTPUT_DIRECTORY}/install-validator/install.so || echo "Could not find install.so file, skipping"
@echo "Nexus Compiler: Compiler code generation completed"
Expand Down

0 comments on commit 7174799

Please sign in to comment.