Code Monkey home page Code Monkey logo

clean-ue4's Introduction

clean-ue4

Simple npm script to clean Intermediate, Saved folders, and .pdbs from unreal projects and plugins for release preparation.

Setup

  1. Install nodejs
  2. Navigate to ue4 project of choice and open a powershell window there

via npm

  1. npm i clean-ue4
  2. cd node_modules
  3. node clean-ue4 this will give you usage instructions

via git

  1. git clone https://github.com/getnamo/clean-ue4.git
  2. cd clean-ue4
  3. npm i
  4. node clean-ue4 this will give you usage instructions

Usage

Format is

node clean-ue4 --p <path> where path should only be auto unless you use -u, then path can be anything.

You'll need one of the following options

Options

-i for intermediate folders

-s for saved folder

-b for *.pdb files

-c for custom pattern, can use multiple e.g. -c /Plugins/MyFolder -c /Plugins/MyOtherFolder

e.g. for everything

node clean-ue4 --p ../ -i -s -b

You'll be prompted to confirm the delete patterns with a y or n.

Other Options

Dry Run

To see what would've gotten deleted without doing it add -d which stands for dry run.

Auto-confirm

To auto-confirm delete prompt use -y

Unrestricted project path

If you want to redirect script to another path you need to add -u to add unrestricted path mode (not recommended).

Lazy mode

If you're comfortable with the files it deletes

do node clean-ue4 -x

I would recommend doing a dry run first...

node clean-ue4 --x -d

Very lazy mode

Click on the FullCleanForRelease.bat.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.