-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
20 additions
and
125 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,8 +26,8 @@ EOT | |
|
||
main () { | ||
case "$1" in | ||
flygrep) | ||
git clone https://github.com/wsdjeg/FlyGrep.vim.git detach/$1 | ||
FlyGrep.vim) | ||
git clone https://github.com/wsdjeg/$1.git detach/$1 | ||
cd detach/$1 | ||
_checkdir syntax/ | ||
_checkdir autoload/SpaceVim/api | ||
|
@@ -95,17 +95,8 @@ main () { | |
# detach test vimrc | ||
_checkdir test | ||
_detact_bundle FlyGrep test/vimrc | ||
git add . | ||
git config user.email "[email protected]" | ||
git config user.name "SpaceVimBot" | ||
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}" | ||
git remote add wsdjeg_flygrep https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/FlyGrep.vim.git | ||
git push wsdjeg_flygrep master | ||
cd - | ||
rm -rf detach/$1 | ||
exit 0 | ||
;; | ||
dein-ui) | ||
dein-ui.vim) | ||
git clone https://github.com/wsdjeg/dein-ui.vim.git detach/$1 | ||
cd detach/$1 | ||
_checkdir syntax/ | ||
|
@@ -124,15 +115,6 @@ main () { | |
_detact autoload/SpaceVim/api/vim/compatible.vim | ||
_detact syntax/SpaceVimPlugManager.vim | ||
_detact LICENSE | ||
git add . | ||
git config user.email "[email protected]" | ||
git config user.name "SpaceVimBot" | ||
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}" | ||
git remote add wsdjeg_dein_ui https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/dein-ui.vim.git | ||
git push wsdjeg_dein_ui master | ||
cd - | ||
rm -rf detach/$1 | ||
exit 0 | ||
;; | ||
cpicker.nvim) | ||
git clone https://github.com/wsdjeg/cpicker.nvim.git detach/$1 | ||
|
@@ -169,15 +151,6 @@ main () { | |
_checkdir autoload/SpaceVim/api/neovim | ||
_detact autoload/SpaceVim/api/neovim/floatting.vim | ||
_detact LICENSE | ||
git add . | ||
git config user.email "[email protected]" | ||
git config user.name "Eric Wong" | ||
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}" | ||
git remote add wsdjeg_cpicker https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/cpicker.nvim.git | ||
git push wsdjeg_cpicker master | ||
cd - | ||
rm -rf detach/$1 | ||
exit 0 | ||
;; | ||
SourceCounter.vim) | ||
git clone https://github.com/wsdjeg/SourceCounter.vim.git detach/$1 | ||
|
@@ -202,17 +175,8 @@ main () { | |
_detact autoload/SpaceVim/api/vim/floatting.vim | ||
_checkdir autoload/SpaceVim/api/neovim | ||
_detact autoload/SpaceVim/api/neovim/floatting.vim | ||
git add . | ||
git config user.email "[email protected]" | ||
git config user.name "Eric Wong" | ||
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}" | ||
git remote add wsdjeg_sourcecounter https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/SourceCounter.vim.git | ||
git push wsdjeg_sourcecounter master | ||
cd - | ||
rm -rf detach/$1 | ||
exit 0 | ||
;; | ||
iedit) | ||
iedit.vim) | ||
git clone https://github.com/wsdjeg/iedit.vim.git detach/$1 | ||
cd detach/$1 | ||
_checkdir autoload/SpaceVim/api/vim | ||
|
@@ -246,15 +210,6 @@ command! -nargs=0 Iedit call SpaceVim#plugins#iedit#start() | |
EOT | ||
_detact LICENSE | ||
_default_readme "iedit.vim" "multiple cussor support for Vim/Neovim" | ||
git add . | ||
git config user.email "[email protected]" | ||
git config user.name "SpaceVimBot" | ||
git commit -m "Auto Update" | ||
git remote add wsdjeg_vim_todo https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/iedit.vim.git | ||
git push wsdjeg_vim_todo master | ||
cd - | ||
rm -rf detach/$1 | ||
exit 0 | ||
;; | ||
vim-todo) | ||
git clone https://github.com/wsdjeg/vim-todo.git detach/$1 | ||
|
@@ -290,15 +245,6 @@ EOT | |
command! OpenTodo call todo#open() | ||
EOT | ||
_detact LICENSE | ||
git add . | ||
git config user.email "[email protected]" | ||
git config user.name "SpaceVimBot" | ||
git commit -m "Auto Update" | ||
git remote add wsdjeg_vim_todo https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/vim-todo.git | ||
git push wsdjeg_vim_todo master | ||
cd - | ||
rm -rf detach/$1 | ||
exit 0 | ||
;; | ||
vim-chat) | ||
git clone https://github.com/wsdjeg/vim-chat.git detach/$1 | ||
|
@@ -320,15 +266,6 @@ EOT | |
_detact_bundle vim-chat syntax/vimchat.vim | ||
_detact_bundle vim-chat addon-info.json | ||
_detact_bundle vim-chat README.md | ||
git add . | ||
git config user.email "[email protected]" | ||
git config user.name "SpaceVimBot" | ||
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}" | ||
git remote add wsdjeg_vim_chat https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/vim-chat.git | ||
git push wsdjeg_vim_chat master | ||
cd - | ||
rm -rf detach/$1 | ||
exit 0 | ||
;; | ||
JavaUnit.vim) | ||
git clone https://github.com/wsdjeg/JavaUnit.vim.git detach/$1 | ||
|
@@ -339,15 +276,6 @@ EOT | |
# _detact autoload/SpaceVim/api/job.vim | ||
# _checkdir autoload/chat/ | ||
_detact_bundle JavaUnit.vim README.md | ||
git add . | ||
git config user.email "[email protected]" | ||
git config user.name "SpaceVimBot" | ||
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}" | ||
git remote add wsdjeg_javaunit_vim https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/JavaUnit.vim.git | ||
git push wsdjeg_javaunit_vim master | ||
cd - | ||
rm -rf detach/$1 | ||
exit 0 | ||
;; | ||
git.vim) | ||
git clone https://github.com/wsdjeg/git.vim.git detach/$1 | ||
|
@@ -397,15 +325,6 @@ EOT | |
_detact_bundle git.vim syntax/git-reflog.vim | ||
_checkdir test | ||
_detact_bundle git.vim test/vimrc | ||
git add . | ||
git config user.email "[email protected]" | ||
git config user.name "SpaceVimBot" | ||
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}" | ||
git remote add wsdjeg_git_vim https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/git.vim.git | ||
git push wsdjeg_git_vim master | ||
cd - | ||
rm -rf detach/$1 | ||
exit 0 | ||
;; | ||
vim-cheat) | ||
git clone https://github.com/wsdjeg/vim-cheat.git detach/$1 | ||
|
@@ -420,15 +339,6 @@ EOT | |
_detact_bundle vim-cheat .vintrc.yaml | ||
_checkdir doc/ | ||
_detact_bundle vim-cheat doc/vim-cheat.txt | ||
git add . | ||
git config user.email "[email protected]" | ||
git config user.name "SpaceVimBot" | ||
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}" | ||
git remote add wsdjeg_vim_cheat https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/vim-cheat.git | ||
git push wsdjeg_vim_cheat master | ||
cd - | ||
rm -rf detach/$1 | ||
exit 0 | ||
;; | ||
xmake.vim) | ||
git clone https://github.com/wsdjeg/xmake.vim.git detach/$1 | ||
|
@@ -471,15 +381,6 @@ EOT | |
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_symbols | ||
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_targetdir | ||
_detact_bundle xmake.vim rplugin/python3/deoplete/sources/docs/set_warnings | ||
git add . | ||
git config user.email "[email protected]" | ||
git config user.name "SpaceVimBot" | ||
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}" | ||
git remote add wsdjeg_xmake_vim https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/xmake.vim.git | ||
git push wsdjeg_xmake_vim master | ||
cd - | ||
rm -rf detach/$1 | ||
exit 0 | ||
;; | ||
scrollbar.vim) | ||
git clone https://github.com/wsdjeg/scrollbar.vim.git detach/$1 | ||
|
@@ -494,17 +395,8 @@ EOT | |
_detact autoload/SpaceVim/plugins/scrollbar.vim | ||
_detact LICENSE | ||
_default_readme "scrollbar.vim" "floating scrollbar support for neovim/vim[wip]" | ||
git add . | ||
git config user.email "[email protected]" | ||
git config user.name "SpaceVimBot" | ||
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}" | ||
git remote add wsdjeg_scrollbar https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/scrollbar.vim.git | ||
git push wsdjeg_scrollbar master | ||
cd - | ||
rm -rf detach/$1 | ||
exit 0 | ||
;; | ||
github.vim) | ||
GitHub.vim) | ||
git clone https://github.com/wsdjeg/GitHub.vim.git detach/$1 | ||
cd detach/$1 | ||
_checkdir plugin/ | ||
|
@@ -515,19 +407,17 @@ EOT | |
_default_readme "GitHub.vim" "GitHub API support for neovim/vim[wip]" | ||
_checkdir doc/ | ||
_detact_bundle github doc/github.txt | ||
git add . | ||
git config user.email "[email protected]" | ||
git config user.name "SpaceVimBot" | ||
git commit -m "Auto Update based on https://github.com/SpaceVim/SpaceVim/commit/${GITHUB_SHA}" | ||
git remote add wsdjeg_github_vim https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/GitHub.vim.git | ||
git push wsdjeg_github_vim master | ||
cd - | ||
rm -rf detach/$1 | ||
exit 0 | ||
;; | ||
spacevim-theme) | ||
exit 0 | ||
esac | ||
git add . | ||
git config user.email "[email protected]" | ||
git config user.name "Eric Wong" | ||
git commit -m "${SpaceVim_COMMIT_MSG}" | ||
git remote add wsdjeg_$1 https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/$1.git | ||
git push wsdjeg_$1 master | ||
cd - | ||
rm -rf detach/$1 | ||
exit 0 | ||
} | ||
|
||
main $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters