From 59096eab7860093d614e3e9ec80356e16ded8e82 Mon Sep 17 00:00:00 2001 From: anulax1225 Date: Sat, 12 Oct 2024 00:56:05 +0200 Subject: [PATCH] Added compile commands module to premake for lsp intergration --- setup.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.sh b/setup.sh index 89ff766..4b23c42 100755 --- a/setup.sh +++ b/setup.sh @@ -16,9 +16,10 @@ cp -f ./bin/linux/bakasable ~/.bakasable/ if [ ! $(which premake5) ]; then echo Installing premake cp -f ./bin/linux/premake5 ~/.bakasable/ + chmod +x ~/.bakasable/premake5 echo Installing export-compile-commands module - cp -f ./bin/vendor/export-compile-commands ~/.bakasable/ - echo 'require "export-compile-commands"' >> ~/.bakasable/ + cp -rf ./bin/vendor/export-compile-commands ~/.bakasable/ + echo 'require "export-compile-commands"' >> ~/.bakasable/premake-system.lua fi echo Searching path in env PATH