Moved dotbot plugins to root

This commit is contained in:
2023-03-19 03:13:35 +02:00
parent dbe5ea3ce0
commit 745fc9b737
9 changed files with 31 additions and 21 deletions

25
.gitmodules vendored
View File

@@ -3,23 +3,28 @@
url = https://github.com/anishathalye/dotbot.git url = https://github.com/anishathalye/dotbot.git
ignore = dirty ignore = dirty
[submodule "dotbot-plugins/dotbot-brew"] [submodule "dotbot-brew"]
path = dotbot-plugins/dotbot-brew path = dotbot-brew
url = https://github.com/wren/dotbot-brew.git url = https://github.com/wren/dotbot-brew.git
ignore = dirty ignore = dirty
[submodule "dotbot-plugins/dotbot-if"] [submodule "dotbot-if"]
path = dotbot-plugins/dotbot-if path = dotbot-if
url = https://github.com/wonderbeyond/dotbot-if.git url = https://github.com/wonderbeyond/dotbot-if.git
ignore = dirty ignore = dirty
[submodule "dotbot-plugins/dotbot-gh-extension"] [submodule "dotbot-ifplatform"]
path = dotbot-plugins/dotbot-gh-extension path = dotbot-ifplatform
url = https://github.com/ssbanerje/dotbot-ifplatform.git
ignore = dirty
[submodule "dotbot-gh-extension"]
path = dotbot-gh-extension
url = https://github.com/fundor333/dotbot-gh-extension.git url = https://github.com/fundor333/dotbot-gh-extension.git
ignore = dirty ignore = dirty
[submodule "dotbot-plugins/dotbot-golang"] [submodule "dotbot-golang"]
path = dotbot-plugins/dotbot-golang path = dotbot-golang
url = https://github.com/delicb/dotbot-golang.git url = https://github.com/delicb/dotbot-golang.git
ignore = dirty ignore = dirty
@@ -35,6 +40,4 @@
url = https://github.com/ivuorinen/astronvim_config.git url = https://github.com/ivuorinen/astronvim_config.git
update = rebase update = rebase
branch = main branch = main
[submodule "dotbot-plugins/dotbot-ifplatform"] ignore = dirty
path = dotbot-plugins/dotbot-ifplatform
url = https://github.com/ssbanerje/dotbot-ifplatform.git

7
add-submodules.sh Normal file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
git submodule add --name dotbot-brew -f https://github.com/wren/dotbot-brew.git dotbot-brew
git submodule add --name dotbot-gh-extension -f https://github.com/fundor333/dotbot-gh-extension.git dotbot-gh-extension
git submodule add --name dotbot-golang -f https://github.com/delicb/dotbot-golang.git dotbot-golang
git submodule add --name dotbot-if -f https://github.com/wonderbeyond/dotbot-if.git dotbot-if
git submodule add --name dotbot-ifplatform -f https://github.com/ssbanerje/dotbot-ifplatform.git dotbot-ifplatform

11
install
View File

@@ -14,11 +14,10 @@ git submodule update --init --recursive
"${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" \ "${BASEDIR}/${DOTBOT_DIR}/${DOTBOT_BIN}" \
-d "${BASEDIR}" \ -d "${BASEDIR}" \
--plugin-dir=dotbot-plugins/dotbot-brew \ --plugin-dir=dotbot-brew \
--plugin-dir=dotbot-plugins/dotbot-gh-extension \ --plugin-dir=dotbot-gh-extension \
--plugin-dir=dotbot-plugins/dotbot-golang \ --plugin-dir=dotbot-golang \
--plugin-dir=dotbot-plugins/dotbot-if \ --plugin-dir=dotbot-if \
--plugin-dir=dotbot-plugins/dotbot-ifplatform \ --plugin-dir=dotbot-ifplatform \
-p dotbot-plugins/dotbot-if/if.py \
-c "${CONFIG}" \ -c "${CONFIG}" \
"${@}" "${@}"

View File

@@ -3,6 +3,8 @@
brewfile: brewfile:
stderr: true stderr: true
stdout: true stdout: true
create:
mode: 755
link: link:
create: true create: true
relink: true relink: true
@@ -42,12 +44,12 @@
prefix: "." prefix: "."
- shell: - shell:
- [ git submodule update --init --recursive --force ] - [git submodule update --init --recursive --force]
- [ bash scripts/install-npm-packages.sh ] - [bash scripts/install-npm-packages.sh]
- ifmacos: - ifmacos:
- shell: - shell:
- [ bash scripts/set-macos-defaults.sh ] - [bash scripts/set-macos-defaults.sh]
- brewfile: - brewfile:
- Brewfile - Brewfile
@@ -114,5 +116,4 @@
- VildMedPap/gh-orgstats - VildMedPap/gh-orgstats
- vilmibm/gh-screensaver - vilmibm/gh-screensaver
- vilmibm/gh-user-status - vilmibm/gh-user-status
# #