mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2026-01-04 22:38:14 +00:00
text fixes, remove unrequired todos, gamedev fixes, fixes
This commit is contained in:
parent
86f72b810e
commit
3246e1c08c
6 changed files with 12 additions and 13 deletions
|
|
@ -11,7 +11,7 @@
|
|||
- name: Installing defold game engine
|
||||
ansible.builtin.unarchive:
|
||||
remote_src: true
|
||||
src: "https://github.com/defold/defold/releases/latest/download/Defold-x86_64-linux.zip"
|
||||
src: "https://github.com/defold/defold/releases/latest/download/Defold-x86_64-linux.tar.gz"
|
||||
dest: "{{ ansible_env.HOME }}/defold"
|
||||
mode: a
|
||||
keep_newer: true
|
||||
|
|
@ -23,25 +23,29 @@
|
|||
changed_when: false
|
||||
|
||||
# lua lsp
|
||||
- name: Get latest typst version
|
||||
- name: Get latest lua lsp version
|
||||
community.general.github_release:
|
||||
user: typst
|
||||
repo: typst
|
||||
user: LuaLS
|
||||
repo: lua-language-server
|
||||
action: latest_release
|
||||
register: lua_lsp_version
|
||||
|
||||
- name: Creating lua lsp dir
|
||||
ansible.builtin.file:
|
||||
path: "{{ ansible_env.HOME }}/.lua_lsp"
|
||||
state: directory
|
||||
mode: a
|
||||
- name: Installing lua lsp {{ lua_lsp_version.tag }}
|
||||
become: true
|
||||
ansible.builtin.unarchive:
|
||||
remote_src: true
|
||||
# TODO: remove v before version ??
|
||||
src: "https://github.com/LuaLS/lua-language-server/releases/download/{{ lua_lsp_version.tag }}/lua-language-server-{{ lua_lsp_version.tag }}-linux-x64.tar.gz"
|
||||
dest: "{{ ansible_env.HOME }}/.lua_lsp"
|
||||
keep_newer: true
|
||||
mode: a
|
||||
extra_opts: [--strip-components=1]
|
||||
- name: Updating fish path for lua lsp
|
||||
ansible.builtin.shell: fish_add_path -m {{ ansible_env.HOME }}/.lua_lsp/bin
|
||||
ansible.builtin.shell: fish_add_path -m {{ ansible_env.HOME }}/.lua_lsp
|
||||
args:
|
||||
executable: /usr/bin/fish
|
||||
changed_when: false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue