Changeset View
Changeset View
Standalone View
Standalone View
buildsystem/buildjob.h
- This file was added.
1 | /* KDevelop go build support | ||||
---|---|---|---|---|---|
2 | * | ||||
3 | * Copyright 2017 Mikhail Ivchenko <ematirov@gmail.com> | ||||
4 | * | ||||
5 | * This program is free software; you can redistribute it and/or | ||||
6 | * modify it under the terms of the GNU General Public License | ||||
7 | * as published by the Free Software Foundation; either version 2 | ||||
8 | * of the License, or (at your option) any later version. | ||||
9 | */ | ||||
10 | | ||||
11 | #ifndef BUILDJOB_H | ||||
12 | #define BUILDJOB_H | ||||
13 | | ||||
14 | #include <outputview/outputexecutejob.h> | ||||
15 | | ||||
16 | class GoBuildJob : public KDevelop::OutputExecuteJob | ||||
17 | { | ||||
18 | Q_OBJECT | ||||
19 | public: | ||||
20 | | ||||
21 | GoBuildJob(QObject* parent, QString command, QUrl buildDir); | ||||
22 | QStringList commandLine() const override; | ||||
23 | private: | ||||
24 | QString m_command; | ||||
25 | }; | ||||
26 | #endif // BUILDJOB_H | ||||
27 | |