HackStudio: Rename project file format from .files to .hackstudio
This commit is contained in:
parent
f34fcdedef
commit
0d493c1879
Notes:
sideshowbarker
2024-07-19 04:16:33 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/0d493c18795 Pull-request: https://github.com/SerenityOS/serenity/pull/3014
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
|
||||
Makefile
|
||||
little.files
|
||||
little.hackstudio
|
||||
test.frm
|
|
@ -142,7 +142,7 @@ NonnullRefPtr<EditorWrapper> get_editor_of_file(const String& file)
|
|||
|
||||
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?
|
||||
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())
|
||||
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 = toolbar_container.add<GUI::ToolBar>();
|
||||
|
|
Loading…
Add table
Reference in a new issue