mirror of
https://codeberg.org/ProgramSnail/config.git
synced 2026-03-12 04:57:08 +00:00
fixes, cli utils, vscode, coq
This commit is contained in:
parent
66109effc5
commit
634e4440d6
6 changed files with 101 additions and 2 deletions
23
roles/dev/tasks/ocaml.yml
Normal file
23
roles/dev/tasks/ocaml.yml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# TODO: use ansible ocaml package for install ??
|
||||
- name: Install opam
|
||||
ansible.builtin.dnf5:
|
||||
name:
|
||||
- opam
|
||||
- gmp-devel
|
||||
state: latest
|
||||
|
||||
- name: "Installing coq lsp: pin version"
|
||||
ansible.builtin.command:
|
||||
cmd: opam switch create default 5.3.0
|
||||
changed_when: false
|
||||
|
||||
# update fish path
|
||||
- name: Get programs list to check fish presence
|
||||
ansible.builtin.package_facts:
|
||||
manager: auto
|
||||
|
||||
- name: Update fish path for bun
|
||||
ansible.builtin.shell: fish_add_path {{ ansible_env.HOME }}/.opam/default/bin
|
||||
args:
|
||||
executable: /usr/bin/fish
|
||||
changed_when: true # change is checked inside fish_add_path
|
||||
Loading…
Add table
Add a link
Reference in a new issue