mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-11-13 15:19:09 +01:00
initial commit
This commit is contained in:
1 parent
ae62a2b936
commit
fd5782042f
1 file changed
+29
@@ -0,0 +1,29 @@
|
|||||||
|
---
|
||||||
|
- 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: Install Deno
|
||||||
|
pacman:
|
||||||
|
name: deno
|
||||||
|
state: latest
|
||||||
|
|
||||||
|
- name: Compile the binary
|
||||||
|
ansible.builtin.command:
|
||||||
|
chdir: /$HOME/Documents/git/github.com/aminnairi/markdown-table-align
|
||||||
|
run: deno compile index.ts
|
||||||
|
when: git_clone_result.changed
|
||||||
|
|
||||||
|
- name: Copy the binary
|
||||||
|
ansible.builtin.copy:
|
||||||
|
src: /$HOME/Documents/git/github.com/aminnairi/markdown-table-align/markdown-table-align
|
||||||
|
dest: /$HOME/.local/bin
|
||||||
|
when: git_clone_result.changed
|
||||||
|
|
||||||
|
- name: Remove the binary
|
||||||
|
ansible.builtin.file:
|
||||||
|
path: /$HOME/Document/git/github.com/aminnairi/markdown-table-align/markdown-table-align
|
||||||
|
state: absent
|
||||||
|
when: git_clone_result.changed
|
||||||
Reference in new issue
Block a user