mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2025-12-17 12:58:56 +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
|
|
@ -4,7 +4,7 @@
|
||||||
- name: Installing ocaml (required for lsp)
|
- name: Installing ocaml (required for lsp)
|
||||||
ansible.builtin.import_tasks: ocaml.yml
|
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"
|
- name: "Installing coq lsp: pin version"
|
||||||
ansible.builtin.command:
|
ansible.builtin.command:
|
||||||
cmd: opam pin add coq 8.18.0 --yes
|
cmd: opam pin add coq 8.18.0 --yes
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
- name: Installing defold game engine
|
- name: Installing defold game engine
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
remote_src: true
|
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"
|
dest: "{{ ansible_env.HOME }}/defold"
|
||||||
mode: a
|
mode: a
|
||||||
keep_newer: true
|
keep_newer: true
|
||||||
|
|
@ -23,25 +23,29 @@
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
# lua lsp
|
# lua lsp
|
||||||
- name: Get latest typst version
|
- name: Get latest lua lsp version
|
||||||
community.general.github_release:
|
community.general.github_release:
|
||||||
user: typst
|
user: LuaLS
|
||||||
repo: typst
|
repo: lua-language-server
|
||||||
action: latest_release
|
action: latest_release
|
||||||
register: lua_lsp_version
|
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 }}
|
- name: Installing lua lsp {{ lua_lsp_version.tag }}
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
remote_src: true
|
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"
|
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"
|
dest: "{{ ansible_env.HOME }}/.lua_lsp"
|
||||||
keep_newer: true
|
keep_newer: true
|
||||||
mode: a
|
mode: a
|
||||||
extra_opts: [--strip-components=1]
|
extra_opts: [--strip-components=1]
|
||||||
- name: Updating fish path for lua lsp
|
- 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:
|
args:
|
||||||
executable: /usr/bin/fish
|
executable: /usr/bin/fish
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,6 @@
|
||||||
path: '{{ ansible_env.HOME }}/.bun'
|
path: '{{ ansible_env.HOME }}/.bun'
|
||||||
register: bun_dir
|
register: bun_dir
|
||||||
|
|
||||||
# TODO: detect fish install ??
|
|
||||||
- name: Installing bun
|
- name: Installing bun
|
||||||
ansible.builtin.shell: |
|
ansible.builtin.shell: |
|
||||||
{{ bun_bootstrap.content }}
|
{{ bun_bootstrap.content }}
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,6 @@
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
remote_src: true
|
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"
|
src: "https://github.com/typst/typst/releases/download/{{ typst_version.tag }}/typst-x86_64-unknown-linux-musl.tar.xz"
|
||||||
dest: "/usr/bin/"
|
dest: "/usr/bin/"
|
||||||
keep_newer: true
|
keep_newer: true
|
||||||
|
|
@ -30,7 +29,6 @@
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.unarchive:
|
ansible.builtin.unarchive:
|
||||||
remote_src: true
|
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"
|
src: "https://github.com/Myriad-Dreamin/tinymist/releases/download/{{ tinymist_version.tag }}/tinymist-x86_64-unknown-linux-gnu.tar.gz"
|
||||||
dest: "/usr/bin/"
|
dest: "/usr/bin/"
|
||||||
mode: a+x
|
mode: a+x
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@
|
||||||
- gtk3-devel
|
- gtk3-devel
|
||||||
state: latest
|
state: latest
|
||||||
|
|
||||||
# TODO: dinamically get url from forder
|
# TODO: dinamically get url from html (folder)
|
||||||
- name: Installing vscode (uncoded)
|
- name: Installing vscode (uncoded)
|
||||||
# become: true
|
# become: true
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,6 @@
|
||||||
- name: Installing hola-proxy {{ hola_version.tag }}
|
- name: Installing hola-proxy {{ hola_version.tag }}
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.get_url:
|
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"
|
url: "https://github.com/Snawoot/hola-proxy/releases/download/{{ hola_version.tag }}/hola-proxy.linux-amd64"
|
||||||
dest: "/usr/bin/hola-proxy"
|
dest: "/usr/bin/hola-proxy"
|
||||||
mode: a+x
|
mode: a+x
|
||||||
|
|
@ -24,7 +23,6 @@
|
||||||
- name: Installing opera-proxy {{ opera_version.tag }}
|
- name: Installing opera-proxy {{ opera_version.tag }}
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.get_url:
|
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"
|
url: "https://github.com/Snawoot/opera-proxy/releases/download/{{ opera_version.tag }}/hola-proxy.linux-amd64"
|
||||||
dest: "/usr/bin/hola-proxy"
|
dest: "/usr/bin/hola-proxy"
|
||||||
mode: a+x
|
mode: a+x
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue