mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:48:12 +00:00
HackStudio: Rename project file format from .files to .hackstudio
This commit is contained in:
parent
f34fcdedef
commit
0d493c1879
4 changed files with 5 additions and 5 deletions
|
@ -1,2 +0,0 @@
|
||||||
javascript.files
|
|
||||||
*.js
|
|
2
Base/home/anon/js/javascript.hackstudio
Normal file
2
Base/home/anon/js/javascript.hackstudio
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
javascript.hackstudio
|
||||||
|
*.js
|
|
@ -1,4 +1,4 @@
|
||||||
main.cpp
|
main.cpp
|
||||||
Makefile
|
Makefile
|
||||||
little.files
|
little.hackstudio
|
||||||
test.frm
|
test.frm
|
|
@ -142,7 +142,7 @@ NonnullRefPtr<EditorWrapper> get_editor_of_file(const String& file)
|
||||||
|
|
||||||
String get_project_executable_path()
|
String get_project_executable_path()
|
||||||
{
|
{
|
||||||
// e.g /my/project.files => /my/project
|
// e.g /my/project.hackstudio => /my/project
|
||||||
// TODO: Perhaps a Makefile rule for getting the value of $(PROGRAM) would be better?
|
// TODO: Perhaps a Makefile rule for getting the value of $(PROGRAM) would be better?
|
||||||
return g_project->path().substring(0, g_project->path().index_of(".").value());
|
return g_project->path().substring(0, g_project->path().index_of(".").value());
|
||||||
}
|
}
|
||||||
|
@ -189,7 +189,7 @@ int main(int argc, char** argv)
|
||||||
if (!make_is_available())
|
if (!make_is_available())
|
||||||
GUI::MessageBox::show(g_window, "The 'make' command is not available. You probably want to install the binutils, gcc, and make ports from the root of the Serenity repository.", "Error", GUI::MessageBox::Type::Error);
|
GUI::MessageBox::show(g_window, "The 'make' command is not available. You probably want to install the binutils, gcc, and make ports from the root of the Serenity repository.", "Error", GUI::MessageBox::Type::Error);
|
||||||
|
|
||||||
open_project("/home/anon/little/little.files");
|
open_project("/home/anon/little/little.hackstudio");
|
||||||
|
|
||||||
auto& toolbar_container = widget.add<GUI::ToolBarContainer>();
|
auto& toolbar_container = widget.add<GUI::ToolBarContainer>();
|
||||||
auto& toolbar = toolbar_container.add<GUI::ToolBar>();
|
auto& toolbar = toolbar_container.add<GUI::ToolBar>();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue