UEScripts/doc/Cleanup.md

21 lines
816 B
Markdown
Raw Normal View History

# Cleanup tool
2020-10-08 15:41:43 +01:00
Mostly this script cleans up Hot Reload DLLs that often get left over. It used
to also call `git lfs prune` but has stopped doing that for now because
of a previous bug in Git LFS which would delete stashed LFS files.
I don't use this script very much any more because I'm using Live Coding now.
The script also cleans up Live Coding patches but there's fewer of those.
```
ue-cleanup.ps1 [[-src:]sourcefolder] [Options]
2020-10-08 15:41:43 +01:00
-src : Source folder (current folder if omitted)
: (should be root of project)
2022-04-19 12:07:09 +01:00
-nocloseeditor : Don't close Unreal editor (this will prevent DLL cleanup)
2020-10-08 15:41:43 +01:00
-lfsprune : Call 'git lfs prune' to delete old LFS files as well
-dryrun : Don't perform any actual actions, just report on what you would do
-help : Print this help
```