Skip to content

Commit

Permalink
fix git ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
EndrII committed Jun 19, 2019
1 parent 89b141a commit 105fa4e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
7 changes: 1 addition & 6 deletions Deploy/deploy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ void Deploy::initIgnoreEnvList()
auto path = QFileInfo(i).absoluteFilePath();

if (path.right(1) == "/" || path.right(1) == "\\") {
path.remove(path.size() - 1);
path.remove(path.size() - 1, 1);
}

ignoreEnvList.append(path);
Expand Down Expand Up @@ -1145,10 +1145,5 @@ Deploy::Deploy() {

QuasarAppUtils::Params::verboseLog("appDir = " + appDir);

initIgnoreEnvList();
initEnvirement();

initIgnoreList();

}

6 changes: 4 additions & 2 deletions Deploy/deploy.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,14 @@ class DEPLOYSHARED_EXPORT Deploy {
void setTargetDir();
bool deployMSVC();

void initIgnoreEnvList();
void initIgnoreList();

public:
Deploy();
void initEnvirement();
void initIgnoreEnvList();
void initIgnoreList();


QStringList getDirsRecursive(const QString& path);

bool getDeployQml() const;
Expand Down
5 changes: 5 additions & 0 deletions Deploy/deployutils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@ bool DeployUtils::parseQt(Deploy *deploy) {
}
}

deploy->initIgnoreEnvList();
deploy->initEnvirement();

deploy->initIgnoreList();

if (QuasarAppUtils::Params::isEndable("clear")) {
qInfo() << "clear old data";
deploy->clear();
Expand Down

0 comments on commit 105fa4e

Please sign in to comment.