From 0d493c187952ddbd03141b513689ea309b73e65d Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Wed, 5 Aug 2020 16:38:25 +0200 Subject: [PATCH] HackStudio: Rename project file format from .files to .hackstudio --- Base/home/anon/js/javascript.files | 2 -- Base/home/anon/js/javascript.hackstudio | 2 ++ Base/home/anon/little/{little.files => little.hackstudio} | 2 +- DevTools/HackStudio/main.cpp | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 Base/home/anon/js/javascript.files create mode 100644 Base/home/anon/js/javascript.hackstudio rename Base/home/anon/little/{little.files => little.hackstudio} (60%) diff --git a/Base/home/anon/js/javascript.files b/Base/home/anon/js/javascript.files deleted file mode 100644 index 16d6fe4a77..0000000000 --- a/Base/home/anon/js/javascript.files +++ /dev/null @@ -1,2 +0,0 @@ -javascript.files -*.js diff --git a/Base/home/anon/js/javascript.hackstudio b/Base/home/anon/js/javascript.hackstudio new file mode 100644 index 0000000000..d4786280a9 --- /dev/null +++ b/Base/home/anon/js/javascript.hackstudio @@ -0,0 +1,2 @@ +javascript.hackstudio +*.js diff --git a/Base/home/anon/little/little.files b/Base/home/anon/little/little.hackstudio similarity index 60% rename from Base/home/anon/little/little.files rename to Base/home/anon/little/little.hackstudio index 46648a0e18..771584922f 100644 --- a/Base/home/anon/little/little.files +++ b/Base/home/anon/little/little.hackstudio @@ -1,4 +1,4 @@ main.cpp Makefile -little.files +little.hackstudio test.frm diff --git a/DevTools/HackStudio/main.cpp b/DevTools/HackStudio/main.cpp index a270ae50c4..11888d7423 100644 --- a/DevTools/HackStudio/main.cpp +++ b/DevTools/HackStudio/main.cpp @@ -142,7 +142,7 @@ NonnullRefPtr 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(); auto& toolbar = toolbar_container.add();