Remove setup script

This commit is contained in:
2026-07-08 15:22:03 +01:00
parent 9bd1ee7a29
commit 8f73f09b58
5 changed files with 4 additions and 24 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
build/* build/*
bin/* bin/*
.clangd compile_commands.json
include/bindings/ruby_compiled.h include/bindings/ruby_compiled.h
+1 -8
View File
@@ -57,7 +57,7 @@ DEP_RELEASE := $(OBJ_RELEASE:.o=.d)
# ---------------- TARGETS ---------------- # ---------------- TARGETS ----------------
.PHONY: all debug release clean setup mgems .PHONY: all debug release clean mgems
all: debug all: debug
@@ -65,13 +65,6 @@ debug: mgems $(TARGET_DEBUG)
release: mgems $(TARGET_RELEASE) release: mgems $(TARGET_RELEASE)
# ---------------- CLANGD ----------------
setup: setup.rb
@echo "Setting up clangd configuration..."
@ruby setup.rb
@echo "Done."
# ---------------- MRB_MGEMS ---------------- # ---------------- MRB_MGEMS ----------------
mgems: mgems:
+1
View File
@@ -24,6 +24,7 @@
gnumake gnumake
ruby ruby
xxd xxd
bear
sdl3 sdl3
sdl3-ttf sdl3-ttf
+1 -1
View File
@@ -30,4 +30,4 @@ struct Scene {
inline Pool<Scene> scene_pool; inline Pool<Scene> scene_pool;
} // namespace app } // namespace app
#endif #endif
-14
View File
@@ -1,14 +0,0 @@
dir = File.expand_path(__dir__)
clangd = <<CLANGD
CompileFlags:
Add: [
-I#{dir}/include,
-I#{dir}/libs/mruby/build/host/include,
-std=c++23
]
Remove: []
Compiler: clang++
CLANGD
File.write ".clangd", clangd