mirror of
https://github.com/DictXiong/dotfiles.git
synced 2025-07-01 21:00:29 +08:00
debug
This commit is contained in:
parent
90242e6252
commit
d6779d639a
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@ -11,7 +11,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install -y git python3 python3-pip zsh curl inetutils-ping
|
sudo apt install -y git python3 python3-pip zsh curl inetutils-ping
|
||||||
sudo apt remove -y vim tmux
|
|
||||||
sudo pip3 install requests
|
sudo pip3 install requests
|
||||||
|
|
||||||
- name: checkout repo
|
- name: checkout repo
|
||||||
@ -21,6 +20,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
rev=`git rev-parse HEAD`
|
rev=`git rev-parse HEAD`
|
||||||
pwd
|
pwd
|
||||||
|
export DFS_NO_COMPILE=1
|
||||||
./install.sh
|
./install.sh
|
||||||
git checkout $rev
|
git checkout $rev
|
||||||
|
|
||||||
@ -42,7 +42,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
brew update
|
brew update
|
||||||
brew install git python3 zsh curl
|
brew install git python3 zsh curl
|
||||||
sudo rm /usr/bin/vim
|
|
||||||
sudo pip3 install requests
|
sudo pip3 install requests
|
||||||
|
|
||||||
- name: checkout repo
|
- name: checkout repo
|
||||||
@ -52,6 +51,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
rev=`git rev-parse HEAD`
|
rev=`git rev-parse HEAD`
|
||||||
pwd
|
pwd
|
||||||
|
export DFS_NO_COMPILE=1
|
||||||
./install.sh
|
./install.sh
|
||||||
git checkout $rev
|
git checkout $rev
|
||||||
|
|
||||||
|
@ -93,7 +93,9 @@ install_tmux_tpm(){
|
|||||||
git clone https://gitee.com/dictxiong/tpm "$TMUX_TPM"
|
git clone https://gitee.com/dictxiong/tpm "$TMUX_TPM"
|
||||||
if [[ -x $(command -v g++) && -x $(command -v cmake) && -x $(command -v make) ]]; then
|
if [[ -x $(command -v g++) && -x $(command -v cmake) && -x $(command -v make) ]]; then
|
||||||
fmt_note "initializing tmux plugins ..."
|
fmt_note "initializing tmux plugins ..."
|
||||||
~/.tmux/plugins/tpm/bin/install_plugins
|
if [[ -z "$DFS_NO_COMPILE" ]]; then
|
||||||
|
~/.tmux/plugins/tpm/bin/install_plugins
|
||||||
|
fi
|
||||||
else
|
else
|
||||||
fmt_warning "pls install g++,cmake,make and then init tmux plugins by <prefix + I> or ~/.tmux/plugins/tpm/bin/install_plugins"
|
fmt_warning "pls install g++,cmake,make and then init tmux plugins by <prefix + I> or ~/.tmux/plugins/tpm/bin/install_plugins"
|
||||||
fi
|
fi
|
||||||
@ -106,7 +108,9 @@ install_vim_vundle(){
|
|||||||
fmt_note "installing vim vundle ..."
|
fmt_note "installing vim vundle ..."
|
||||||
git clone https://gitee.com/dictxiong/Vundle.vim "$VIM_VUNDLE"
|
git clone https://gitee.com/dictxiong/Vundle.vim "$VIM_VUNDLE"
|
||||||
fmt_note "initializing vim plugins ..."
|
fmt_note "initializing vim plugins ..."
|
||||||
vim +PluginInstall +qall
|
if [[ -z "$DFS_NO_COMPLIE" ]]; then
|
||||||
|
vim +PluginInstall +qall
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user