manifest.yml (962B)
1 # Dotfile repo structure: 2 # . 3 # ├── gitconfig 4 # ├── script.bat 5 # ├── script.sh 6 # ├── manifest.yml 7 # └── vimrc 8 9 # The .bashrc and .vimrc files are linked to their destinations so that changes 10 # are synced with the dotfile repo. In contrast, the .gitconfig file is copied 11 # so that the name & email fields can be modified without changing the version 12 # in the dotfile repo. 13 14 steps: 15 - copy: 16 - src: gitconfig 17 dst: ~/.gitconfig 18 tags: [ windows, linux, macos ] 19 20 - link: 21 - src: bashrc 22 dst: ~/.bashrc 23 - src: vimrc 24 dst: ~/.vimrc # will create symbolic links on Linux & MacOS 25 run: 26 - src: ./script.sh 27 prefix: sh # unecessary on Unix if script.sh is executable 28 postfix: arg1 $COLIRU_RULES 29 tags: [ linux, macos ] 30 31 - link: 32 - src: vimrc 33 dst: ~/_vimrc # will create hard link on Windows 34 run: 35 - src: script.bat 36 postfix: arg1 $COLIRU_RULES 37 tags: [ windows ]