Unity library folder
Hello. I am using teamcity to build my Unity3d projects. When I am selecting branch in custom build or when build is triggered from "not master branch" git performs clean, and it removes my Library folder. I need to persist this folder because it is a cache that builds a huge amount of time. When I stay on master, everything is fine and this cache is reused. How can I do this? I want this folder to be shared between my branches.
Please sign in to leave a comment.
Hi,
Perhaps you have already done it, but if not, in your VCS settings you can define the Clean Policy, that allows you to control when
git cleanruns. The default value is On branch change, so it might help to set it to Never. You might also need to adjust the Clean files policy (under the Clean Policy in your VCS root settings).Thanks,
Guilherme