text fixes, remove unrequired todos, gamedev fixes, fixes

This commit is contained in:
ProgramSnail 2025-08-17 19:27:01 +03:00
parent 86f72b810e
commit 3246e1c08c
6 changed files with 12 additions and 13 deletions

View file

@ -4,7 +4,7 @@
- name: Installing ocaml (required for lsp)
ansible.builtin.import_tasks: ocaml.yml
# TODO: add otion to choose ocaml switch
# TODO: add option to choose ocaml switch
- name: "Installing coq lsp: pin version"
ansible.builtin.command:
cmd: opam pin add coq 8.18.0 --yes

View file

@ -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

View file

@ -17,7 +17,6 @@
path: '{{ ansible_env.HOME }}/.bun'
register: bun_dir
# TODO: detect fish install ??
- name: Installing bun
ansible.builtin.shell: |
{{ bun_bootstrap.content }}

View file

@ -9,7 +9,6 @@
become: true
ansible.builtin.unarchive:
remote_src: true
# TODO: insert v before version ??
src: "https://github.com/typst/typst/releases/download/{{ typst_version.tag }}/typst-x86_64-unknown-linux-musl.tar.xz"
dest: "/usr/bin/"
keep_newer: true
@ -30,7 +29,6 @@
become: true
ansible.builtin.unarchive:
remote_src: true
# TODO: insert v before version ??, rc ??
src: "https://github.com/Myriad-Dreamin/tinymist/releases/download/{{ tinymist_version.tag }}/tinymist-x86_64-unknown-linux-gnu.tar.gz"
dest: "/usr/bin/"
mode: a+x

View file

@ -13,7 +13,7 @@
- gtk3-devel
state: latest
# TODO: dinamically get url from forder
# TODO: dinamically get url from html (folder)
- name: Installing vscode (uncoded)
# become: true
ansible.builtin.get_url:

View file

@ -8,7 +8,6 @@
- name: Installing hola-proxy {{ hola_version.tag }}
become: true
ansible.builtin.get_url:
# TODO: insert v before version ??
url: "https://github.com/Snawoot/hola-proxy/releases/download/{{ hola_version.tag }}/hola-proxy.linux-amd64"
dest: "/usr/bin/hola-proxy"
mode: a+x
@ -24,7 +23,6 @@
- name: Installing opera-proxy {{ opera_version.tag }}
become: true
ansible.builtin.get_url:
# TODO: insert v before version ??
url: "https://github.com/Snawoot/opera-proxy/releases/download/{{ opera_version.tag }}/hola-proxy.linux-amd64"
dest: "/usr/bin/hola-proxy"
mode: a+x