Skip to content
Snippets Groups Projects
Commit 405ad8e0 authored by David Gilbert's avatar David Gilbert :bug:
Browse files

Edit shared_scripts.yml

parent 0928a1e6
Branches
Tags
No related merge requests found
...@@ -111,6 +111,7 @@ variables: ...@@ -111,6 +111,7 @@ variables:
GIT_CHECKOUT: "true" GIT_CHECKOUT: "true"
CLIENT_CONFIG: "Shipping" CLIENT_CONFIG: "Shipping"
EXTRA_ARGS: "" EXTRA_ARGS: ""
CLEAN_CACHE: "true"
tags: tags:
- linux - linux
script: script:
...@@ -120,8 +121,12 @@ variables: ...@@ -120,8 +121,12 @@ variables:
- echo -e "\e[31mERROR To specify the Unreal Version, change the UNREAL_VERSION variable in your .gitlab-ci.yml!" - echo -e "\e[31mERROR To specify the Unreal Version, change the UNREAL_VERSION variable in your .gitlab-ci.yml!"
- exit 1 - exit 1
- fi - fi
# Clean folder before building # Clean folder before building. Exclude cache for now
- if [[ $CLEAN_CACHE = true ]] ; then
- git clean -qxfdf && git submodule foreach --quiet --recursive git clean -qxfdf - git clean -qxfdf && git submodule foreach --quiet --recursive git clean -qxfdf
- else
- git clean -qxfdf -e Zen -e PSOCache -e LocalDDC -e Intermediate -e Saved -e Binaries -e Build && git submodule foreach --quiet --recursive git clean -qxfdf
- fi
# Preparation and building stage # Preparation and building stage
- PATH=$PREPEND_PATH:$PATH:$APPEND_PATH - PATH=$PREPEND_PATH:$PATH:$APPEND_PATH
- export PROJECT_NAME=`basename $(find *.uproject) .uproject` - export PROJECT_NAME=`basename $(find *.uproject) .uproject`
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment