-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_template.yaml
33 lines (29 loc) · 1.26 KB
/
config_template.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# config_template.yaml
# Installation section
# Fields:
# - name: Name of the tool (required)
# - method: Installation method, e.g., 'brew' for Homebrew formula or 'cask' for Homebrew Cask (optional)
# - install_command: Custom command to install the tool (optional)
# - post_install: List of commands to run after installation (optional)
tools:
- name: "example_tool_name"
# install_command: "custom_command_to_install_tool" # Uncomment and replace if needed
post_install:
- "echo 'export PATH=/path/to/example_tool/bin:$PATH' >> ~/.zshrc"
- "source ~/.zshrc"
- "example_tool_name --version" # Optional: verify installation
- name: "another_tool"
method: "cask"
post_install:
- "echo 'export ANOTHER_TOOL_HOME=/Applications/AnotherTool.app' >> ~/.zshrc"
- "source ~/.zshrc"
# Configuration section
# Fields:
# - name: Name of the tool to configure (required)
# - config_url: URL to the configuration file (required)
# - install_path: Path where the configuration should be installed (required)
configure:
- name: "neovim"
config_url: "https://github.com/example/neovim-config/raw/main/init.vim"
install_path: "~/.config/nvim/init.vim"
# Add more tools to configure as needed, following the same structure