- Home /
Post-build script not called on failed build?
I have a pair of pre-build & post-build scripts that do some work for a particular build target. Specifically, it moves an asset folder outside of Assets so it's excluded on UWP.
Problem I'm running into is that if the build fails, the post-build script doesn't get called, so the folder doesn't get moved back.
I can't find anything about this in the documentation. Is there any way to ensure the cleanup script gets called regardless of whether or not the build succeeded?
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Problem 'Failed symlinking runtime library. Falling back to copy.' 0 Answers
Facebook SDK An element with the same key already exists in the Dictionary 0 Answers
how to get a callback when build was canceled? 1 Answer
Preprocess scene on build in Unity 5 0 Answers