mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-12 17:55:41 +08:00
Fix flygrep script
This commit is contained in:
parent
8b043a25c3
commit
1ff08cbfea
@ -29,6 +29,7 @@ main () {
|
||||
_detect autoload/SpaceVim/api/vim/compatible.vim
|
||||
_detect autoload/SpaceVim/api/neovim/floating.vim
|
||||
_detect autoload/SpaceVim/api/data/list.vim
|
||||
_detect autoload/SpaceVim/api/data/json.vim
|
||||
_detect autoload/SpaceVim/api/prompt.vim
|
||||
_detect autoload/SpaceVim/api/job.vim
|
||||
_detect autoload/SpaceVim/api/system.vim
|
||||
@ -37,6 +38,8 @@ main () {
|
||||
_detect syntax/SpaceVimFlyGrep.vim
|
||||
_detect LICENSE
|
||||
git add .
|
||||
git config user.email "wsdjeg@qq.com"
|
||||
git config user.name "SpaceVimBot"
|
||||
git commit -m "Auto Update"
|
||||
git remote add wsdjeg_flygrep https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/FlyGrep.vim.git
|
||||
git push wsdjeg_flygrep master
|
||||
@ -63,6 +66,8 @@ main () {
|
||||
_detect syntax/SpaceVimPlugManager.vim
|
||||
_detect LICENSE
|
||||
git add .
|
||||
git config user.email "wsdjeg@qq.com"
|
||||
git config user.name "SpaceVimBot"
|
||||
git commit -m "Auto Update"
|
||||
git remote add wsdjeg_dein_ui https://SpaceVimBot:${BOTSECRET}@github.com/wsdjeg/dein-ui.vim.git
|
||||
git push wsdjeg_dein_ui master
|
||||
|
@ -1,29 +1,33 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
main () {
|
||||
case "$1" in
|
||||
en)
|
||||
cd wiki/en/
|
||||
git init
|
||||
git add .
|
||||
git commit -m "Update wiki"
|
||||
git remote add SpaceVimWikiEn https://SpaceVimBot:${BOTSECRET}@github.com/SpaceVim/SpaceVim.wiki.git
|
||||
git push -f -u SpaceVimWikiEn master
|
||||
cd -
|
||||
rm -rf ./wiki/en/.git/
|
||||
exit 0
|
||||
;;
|
||||
cn)
|
||||
cd wiki/cn/
|
||||
git init
|
||||
git add .
|
||||
git commit -m "Update wiki"
|
||||
git remote add SpaceVimWikiCn https://SpaceVimBot:${BOTSECRET}@gitee.com/spacevim/SpaceVim.wiki.git
|
||||
git push -f -u SpaceVimWikiCn master
|
||||
cd -
|
||||
rm -rf ./wiki/cn/.git/
|
||||
exit 0
|
||||
esac
|
||||
case "$1" in
|
||||
en)
|
||||
cd wiki/en/
|
||||
git init
|
||||
git add .
|
||||
git config user.email "wsdjeg@qq.com"
|
||||
git config user.name "SpaceVimBot"
|
||||
git commit -m "Update wiki"
|
||||
git remote add SpaceVimWikiEn https://SpaceVimBot:${BOTSECRET}@github.com/SpaceVim/SpaceVim.wiki.git
|
||||
git push -f -u SpaceVimWikiEn master
|
||||
cd -
|
||||
rm -rf ./wiki/en/.git/
|
||||
exit 0
|
||||
;;
|
||||
cn)
|
||||
cd wiki/cn/
|
||||
git init
|
||||
git add .
|
||||
git config user.email "wsdjeg@qq.com"
|
||||
git config user.name "SpaceVimBot"
|
||||
git commit -m "Update wiki"
|
||||
git remote add SpaceVimWikiCn https://SpaceVimBot:${BOTSECRET}@gitee.com/spacevim/SpaceVim.wiki.git
|
||||
git push -f -u SpaceVimWikiCn master
|
||||
cd -
|
||||
rm -rf ./wiki/cn/.git/
|
||||
exit 0
|
||||
esac
|
||||
}
|
||||
|
||||
main $@
|
||||
|
Loading…
x
Reference in New Issue
Block a user