Clear Build and Cache Directory After Project Move or Copy (#2184)
* Clear build and Cache directories when copying or moving projects Signed-off-by: nggieber <nggieber@amazon.com> * Updated tests for moving projects and Added tests for copying projects and skipping build files Signed-off-by: nggieber <nggieber@amazon.com> * Address PR feedback and fix a few minor UX issues, and request project be rebuild after copying or moving Signed-off-by: nggieber <nggieber@amazon.com> * Include ProjectInfo.h in ProjectUtils.h so linux will compile Signed-off-by: nggieber <nggieber@amazon.com>
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <ScreenDefs.h>
|
||||
#include <ProjectInfo.h>
|
||||
|
||||
#include <QWidget>
|
||||
#include <AzCore/Outcome/Outcome.h>
|
||||
|
||||
@@ -17,10 +19,10 @@ namespace O3DE::ProjectManager
|
||||
bool AddProjectDialog(QWidget* parent = nullptr);
|
||||
bool RegisterProject(const QString& path);
|
||||
bool UnregisterProject(const QString& path);
|
||||
bool CopyProjectDialog(const QString& origPath, QWidget* parent = nullptr);
|
||||
bool CopyProject(const QString& origPath, const QString& newPath, QWidget* parent);
|
||||
bool CopyProjectDialog(const QString& origPath, ProjectInfo& newProjectInfo, QWidget* parent = nullptr);
|
||||
bool CopyProject(const QString& origPath, const QString& newPath, QWidget* parent, bool skipRegister = false);
|
||||
bool DeleteProjectFiles(const QString& path, bool force = false);
|
||||
bool MoveProject(QString origPath, QString newPath, QWidget* parent = nullptr, bool ignoreRegister = false);
|
||||
bool MoveProject(QString origPath, QString newPath, QWidget* parent, bool skipRegister = false);
|
||||
|
||||
bool ReplaceFile(const QString& origFile, const QString& newFile, QWidget* parent = nullptr, bool interactive = true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user