mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 13:22:13 +02:00
19 lines
553 B
YAML
19 lines
553 B
YAML
---
|
|
- name: Install Deno
|
|
become: true
|
|
pacman:
|
|
name: deno
|
|
state: latest
|
|
|
|
- name: Clone the repository
|
|
ansible.builtin.git:
|
|
repo: https://github.com/aminnairi/markdown-table-align
|
|
dest: /$HOME/Documents/git/github.com/aminnairi/markdown-table-align/
|
|
register: git_clone_result
|
|
|
|
- name: Compile the binary
|
|
ansible.builtin.command:
|
|
chdir: /$HOME/Documents/git/github.com/aminnairi/markdown-table-align/
|
|
cmd: deno compile --allow-read --output $HOME/.local/bin/markdown-table-align index.ts
|
|
when: git_clone_result.changed
|