Updated godot language server args; added save script; small cleanup
This commit is contained in:
@@ -98,7 +98,7 @@ RUN curl -fsSL https://pyenv.run | bash
|
||||
RUN pyenv install ${PYTHON_VERSION} && pyenv global ${PYTHON_VERSION} && pyenv local ${PYTHON_VERSION}
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# # 4. B: Install nvm and node
|
||||
# 4. B: Install nvm and node
|
||||
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v"${NVM_VERSION}"/install.sh | bash
|
||||
RUN . "${NVM_DIR}/nvm.sh" && nvm install ${NODE_VERSION}
|
||||
RUN . "${NVM_DIR}/nvm.sh" && nvm use v${NODE_VERSION}
|
||||
@@ -110,7 +110,7 @@ RUN node --version
|
||||
RUN npm --version
|
||||
RUN java --version
|
||||
|
||||
# # 5. Cleanup
|
||||
# 5. Cleanup
|
||||
RUN apt-get autoremove --purge
|
||||
RUN apt-get autoclean
|
||||
|
||||
|
||||
17
Docker/scripts/save.sh
Executable file
17
Docker/scripts/save.sh
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
. CONFIG.sh
|
||||
|
||||
# set -o xtrace ## To debug scripts
|
||||
# set -o errexit ## To exit on error
|
||||
# set -o errunset ## To exit if a variable is referenced but not set
|
||||
|
||||
|
||||
function main() {
|
||||
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
cd "${SCRIPTPATH}"
|
||||
echo "Working Dir: " $(pwd)
|
||||
|
||||
podman save -o "${CONTAINER}" $1
|
||||
}
|
||||
main $@;
|
||||
@@ -23,7 +23,8 @@ function main() {
|
||||
CONFIG_HOST="${HOME}/.config/lsps"
|
||||
CONFIG_CONTAINER="${HOME}/.config/lsps"
|
||||
|
||||
podman run -d -m 4G \
|
||||
# podman run -d -m 4G \
|
||||
podman run -m 4G \
|
||||
-p 9999:9999 \
|
||||
-e HOME="${HOME}" \
|
||||
-e MAVEN_OPTS="-Duser.home=${HOME}" \
|
||||
|
||||
@@ -8,10 +8,15 @@ exports.servers = [
|
||||
}, {
|
||||
endpointName: "gdscript",
|
||||
args: [
|
||||
"./Godot_v4.4-stable_linux.x86_64", ["--headless", "--lsp-port", "9999"]
|
||||
"godot", [
|
||||
"--editor",
|
||||
"--headless",
|
||||
"--lsp-port", "6005",
|
||||
"--path", "{workspace.path}"
|
||||
]
|
||||
],
|
||||
nameEndsWith: ".gd",
|
||||
connectionType: "stdio",
|
||||
connectionType: "ipc",
|
||||
relativePath: false
|
||||
}, {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user