2019-09-07 12:01:20 +03:00
|
|
|
#ifndef ENVIREMENT_H
|
|
|
|
#define ENVIREMENT_H
|
|
|
|
|
|
|
|
#include <QStringList>
|
2019-09-09 21:19:44 +03:00
|
|
|
#include "deploy_global.h"
|
2019-09-07 12:01:20 +03:00
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-09 21:19:44 +03:00
|
|
|
class DEPLOYSHARED_EXPORT Envirement
|
2019-09-07 12:01:20 +03:00
|
|
|
{
|
|
|
|
private:
|
|
|
|
QStringList _ignoreEnvList;
|
|
|
|
QStringList _deployEnvironment;
|
|
|
|
|
|
|
|
public:
|
|
|
|
Envirement();
|
|
|
|
QStringList deployEnvironment() const;
|
|
|
|
void setDeployEnvironment(const QStringList &deployEnvironment);
|
|
|
|
QStringList ignoreEnvList() const;
|
|
|
|
void setIgnoreEnvList(const QStringList &ignoreEnvList);
|
2019-09-07 12:36:20 +03:00
|
|
|
|
|
|
|
void addEnv(const QString &dir, const QString &appDir, const QString &targetDir);
|
|
|
|
|
|
|
|
int size() const;
|
2019-09-08 13:37:33 +03:00
|
|
|
QString concatEnv() const;
|
2019-09-07 12:01:20 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // ENVIREMENT_H
|