mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2026-01-11 14:07:17 +00:00
Compare commits
No commits in common. "0cc293be18cd086a12fb21fcffb3752557986fb6" and "2379badd1459adef859f68a1b0b081627d3cb486" have entirely different histories.
0cc293be18
...
2379badd14
7 changed files with 14 additions and 118 deletions
|
|
@ -13,7 +13,7 @@
|
||||||
- cli
|
- cli
|
||||||
vars_prompt:
|
vars_prompt:
|
||||||
- name: tools_in
|
- name: tools_in
|
||||||
prompt: "Specify comma separated list of required tool packages (cpp, js, haskell, ocaml, coq, txt, lang, truffle, gamedev, qt, clojure, arend)"
|
prompt: "Specify comma separated list of required tool packages (cpp, js, haskell, ocaml, coq, txt, lang, truffle, gamedev, qt)"
|
||||||
private: false
|
private: false
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Get tools list
|
- name: Get tools list
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
prompt: "Specify comma separated list of required installation packages (ansible, cli, gui, host, proxy, wm, quickshell)"
|
prompt: "Specify comma separated list of required installation packages (ansible, cli, gui, host, proxy, wm, quickshell)"
|
||||||
private: false
|
private: false
|
||||||
- name: tools_in
|
- name: tools_in
|
||||||
prompt: "Specify comma separated list of required tool packages (cpp, js, haskell, ocaml, coq, txt, lang, truffle, gamedev, qt, clojure, arend)"
|
prompt: "Specify comma separated list of required tool packages (cpp, js, haskell, ocaml, coq, txt, lang, truffle, gamedev, qt)"
|
||||||
private: false
|
private: false
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Get configuration list
|
- name: Get configuration list
|
||||||
|
|
|
||||||
|
|
@ -1,5 +0,0 @@
|
||||||
# TODO:
|
|
||||||
# IDEA 2024.3.6: https://download.jetbrains.com/idea/ideaIC-2024.3.6.tar.gz
|
|
||||||
# # idea.sh installPlugins ...
|
|
||||||
# Arend plugin: org.arend.lang
|
|
||||||
# vim plugin with helix keybindings: IdeaVIM + keybindings (use idea vim bundle instead?)
|
|
||||||
|
|
@ -1,82 +0,0 @@
|
||||||
- name: Installing vscode (uncoded)
|
|
||||||
ansible.builtin.import_tasks: vscode.yml
|
|
||||||
|
|
||||||
# https://clojure.org/guides/install_clojure
|
|
||||||
- name: Installing clojure dependencies
|
|
||||||
become: true
|
|
||||||
ansible.builtin.dnf5:
|
|
||||||
name:
|
|
||||||
- java-latest-openjdk
|
|
||||||
- maven
|
|
||||||
- bash
|
|
||||||
- rlwrap
|
|
||||||
- curl
|
|
||||||
state: latest
|
|
||||||
|
|
||||||
- name: Installing leiningen
|
|
||||||
become: true
|
|
||||||
ansible.builtin.get_url:
|
|
||||||
url: "https://codeberg.org/leiningen/leiningen/raw/branch/stable/bin/lein"
|
|
||||||
dest: "{{ bin_install_path }}/lein"
|
|
||||||
mode: a+x
|
|
||||||
force: true
|
|
||||||
|
|
||||||
- name: Launching leiningen first time
|
|
||||||
ansible.builtin.command:
|
|
||||||
cmd: lein
|
|
||||||
changed_when: false
|
|
||||||
|
|
||||||
- name: Downloading vscode calva (clojure lsp) extension
|
|
||||||
ansible.builtin.get_url:
|
|
||||||
url: "https://open-vsx.org/api/betterthantomorrow/calva/2.0.536/file/betterthantomorrow.calva-2.0.536.vsix"
|
|
||||||
dest: "{{ ansible_env.HOME }}/.vscode_ext/calva-2.0.536.vsix"
|
|
||||||
mode: a
|
|
||||||
force: false
|
|
||||||
|
|
||||||
# TODO: does not work
|
|
||||||
# - name: "Installing vscode calva (clojure lsp) extension"
|
|
||||||
# ansible.builtin.command:
|
|
||||||
# cmd: "{{ ansible_env.HOME }}/.bin/code --install-extension {{ ansible_env.HOME }}/.vscode_ext/calva-2.0.536.vsix"
|
|
||||||
# changed_when: false
|
|
||||||
|
|
||||||
- name: Get latest clojure lsp version
|
|
||||||
community.general.github_release:
|
|
||||||
user: clojure-lsp
|
|
||||||
repo: clojure-lsp
|
|
||||||
action: latest_release
|
|
||||||
register: clojure_lsp_version
|
|
||||||
|
|
||||||
# TODO: or use java version instead ?
|
|
||||||
- name: Installing clojure lsp {{ clojure_lsp_version.tag }}
|
|
||||||
become: true
|
|
||||||
ansible.builtin.unarchive:
|
|
||||||
remote_src: true
|
|
||||||
src: "https://github.com/clojure-lsp/clojure-lsp/releases/download/{{ clojure_lsp_version.tag }}/clojure-lsp-native-linux-amd64.zip"
|
|
||||||
dest: "{{ bin_install_path }}/"
|
|
||||||
mode: a+x
|
|
||||||
keep_newer: true
|
|
||||||
# extra_opts:
|
|
||||||
# - --no-anchored
|
|
||||||
# - clojure-lsp
|
|
||||||
|
|
||||||
- name: Get latest babashka version
|
|
||||||
community.general.github_release:
|
|
||||||
user: babashka
|
|
||||||
repo: babashka
|
|
||||||
action: latest_release
|
|
||||||
register: babashka_version
|
|
||||||
|
|
||||||
# TODO: v in version ??
|
|
||||||
- name: Installing babashka {{ babashka_version.tag }}
|
|
||||||
become: true
|
|
||||||
ansible.builtin.unarchive:
|
|
||||||
remote_src: true
|
|
||||||
src: "https://github.com/babashka/babashka/releases/download/{{ babashka_version.tag }}/babashka-{{ babashka_version.tag[1:] }}-linux-amd64.tar.gz"
|
|
||||||
dest: "{{ bin_install_path }}/"
|
|
||||||
mode: a+x
|
|
||||||
keep_newer: true
|
|
||||||
extra_opts:
|
|
||||||
- --no-anchored
|
|
||||||
- bb
|
|
||||||
|
|
||||||
# NOTE: probably should add https://github.com/jank-lang/jank (build?)
|
|
||||||
|
|
@ -22,12 +22,11 @@
|
||||||
- name: Downloading vscode coq lsp extension
|
- name: Downloading vscode coq lsp extension
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: "https://open-vsx.org/api/maximedenes/vscoq/2.2.6/file/maximedenes.vscoq-2.2.6.vsix"
|
url: "https://open-vsx.org/api/maximedenes/vscoq/2.2.6/file/maximedenes.vscoq-2.2.6.vsix"
|
||||||
dest: "{{ ansible_env.HOME }}/.vscode_ext/vscoq.vsix"
|
dest: "{{ ansible_env.HOME }}/.vscode_ext/vscoq.vsi"
|
||||||
mode: a
|
mode: a
|
||||||
force: false
|
force: false
|
||||||
|
|
||||||
# TODO: does not work
|
- name: "Installing vscode coq lsp extension"
|
||||||
# - name: "Installing vscode coq lsp extension"
|
ansible.builtin.command:
|
||||||
# ansible.builtin.command:
|
cmd: "{{ ansible_env.HOME }}/.bin/code --install-extension {{ ansible_env.HOME }}/.vscode_ext/vscoq.vsi"
|
||||||
# cmd: "{{ ansible_env.HOME }}/.bin/code --install-extension {{ ansible_env.HOME }}/.vscode_ext/vscoq.vsix"
|
changed_when: false
|
||||||
# changed_when: false
|
|
||||||
|
|
|
||||||
|
|
@ -44,12 +44,3 @@
|
||||||
- name: Truffle development environment
|
- name: Truffle development environment
|
||||||
ansible.builtin.import_tasks: qt.yml
|
ansible.builtin.import_tasks: qt.yml
|
||||||
when: "'qt' in tools"
|
when: "'qt' in tools"
|
||||||
|
|
||||||
- name: Clojure development environment
|
|
||||||
ansible.builtin.import_tasks: clojure.yml
|
|
||||||
when: "'clojure' in tools"
|
|
||||||
|
|
||||||
# TODO
|
|
||||||
- name: Arend proof assistant development environment
|
|
||||||
ansible.builtin.import_tasks: arend.yml
|
|
||||||
when: "'arend' in tools"
|
|
||||||
|
|
|
||||||
|
|
@ -17,26 +17,19 @@
|
||||||
- name: Installing vscode (uncoded)
|
- name: Installing vscode (uncoded)
|
||||||
# become: true
|
# become: true
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: "https://code.except.one/st/storage/releases/download/uncoded/uncoded_amd64.appimage"
|
url: "https://tilde.club/~megastallman/uncoded/code-oss-1754477678_amd64.AppImage"
|
||||||
dest: "{{ bin_install_path }}/code"
|
dest: "{{ ansible_env.HOME }}/.bin/code"
|
||||||
mode: a+x
|
mode: a+x
|
||||||
force: false
|
force: false
|
||||||
|
|
||||||
- name: Creating vscode extensions dir
|
|
||||||
ansible.builtin.file:
|
|
||||||
path: "{{ ansible_env.HOME }}/.vscode_ext"
|
|
||||||
state: directory
|
|
||||||
mode: a
|
|
||||||
|
|
||||||
- name: Downloading vscode helix extension
|
- name: Downloading vscode helix extension
|
||||||
ansible.builtin.get_url:
|
ansible.builtin.get_url:
|
||||||
url: "https://open-vsx.org/api/jasew/vscode-helix-emulation/0.6.2/file/jasew.vscode-helix-emulation-0.6.2.vsix"
|
url: "https://open-vsx.org/api/jasew/vscode-helix-emulation/0.6.2/file/jasew.vscode-helix-emulation-0.6.2.vsix"
|
||||||
dest: "{{ ansible_env.HOME }}/.vscode_ext/vscode-helix-emulation.vsix"
|
dest: "{{ ansible_env.HOME }}/.vscode_ext/vscode-helix-emulation.vsi"
|
||||||
mode: a
|
mode: a
|
||||||
force: false
|
force: false
|
||||||
|
|
||||||
# TODO: does not work
|
- name: "Installing vscode helix extension"
|
||||||
# - name: "Installing vscode helix extension"
|
ansible.builtin.command:
|
||||||
# ansible.builtin.command:
|
cmd: "{{ ansible_env.HOME }}/.bin/code --install-extension {{ ansible_env.HOME }}/.vscode_ext/vscode-helix-emulation.vsi"
|
||||||
# cmd: "{{ ansible_env.HOME }}/.bin/code --install-extension {{ ansible_env.HOME }}/.vscode_ext/vscode-helix-emulation.vsix"
|
changed_when: false
|
||||||
# changed_when: false
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue