mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:57:45 +00:00
HackStudio: Add a simple "Build" action
Pressing Ctrl+B now invokes "make" in the project directory and routes the output from the make command to the little terminal widget.
This commit is contained in:
parent
5a83e053b3
commit
654ffdef91
3 changed files with 56 additions and 12 deletions
|
@ -9,8 +9,11 @@ class TerminalWrapper final : public GWidget {
|
|||
public:
|
||||
virtual ~TerminalWrapper() override;
|
||||
|
||||
void run_command(const String&);
|
||||
|
||||
private:
|
||||
explicit TerminalWrapper(GWidget* parent);
|
||||
|
||||
RefPtr<TerminalWidget> m_terminal_widget;
|
||||
pid_t m_pid { -1 };
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue