You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rb trivial #jira UE-178518 #preflight 63fcb6f560163ed3c22e3d35 - The option will only checkin packages that were checked out by the commandlet. Local files or packages that were already open for edit will not be submitted. [CL 24422913 by paul chipchase in ue5-main branch]
38 lines
901 B
C++
38 lines
901 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Commandlets/Commandlet.h"
|
|
#include "UObject/ObjectMacros.h"
|
|
|
|
#include "VirtualizeProjectCommandlet.generated.h"
|
|
|
|
/**
|
|
* Finds all packages in the project and attempts to virtualize them. If revision control
|
|
* is enabled then the commandlet will attempt to checkout the packages that need modification.
|
|
*
|
|
* Because the commmandlet is the VirtualizationEditor module it needs to be invoked
|
|
* with the command line:
|
|
* -run=VirtualizationEditor.VirtualizeProject
|
|
*/
|
|
UCLASS()
|
|
class UVirtualizeProjectCommandlet
|
|
: public UCommandlet
|
|
{
|
|
private:
|
|
|
|
GENERATED_UCLASS_BODY()
|
|
|
|
//~ Begin UCommandlet Interface
|
|
virtual int32 Main(const FString& Params) override;
|
|
//~ End UCommandlet Interface
|
|
|
|
static int32 StaticMain(const FString& Params);
|
|
|
|
bool ParseCmdline(const FString& Params);
|
|
|
|
private:
|
|
|
|
bool bAutoCheckIn = false;
|
|
};
|