Compare commits
2 Commits
f4125b2e89
...
c1da970a67
Author | SHA1 | Date | |
---|---|---|---|
|
c1da970a67 | ||
|
e701f1bba0 |
@ -17,6 +17,10 @@ function command_start() {
|
|||||||
timestamp "Command $* has been ended."
|
timestamp "Command $* has been ended."
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function update_pip() {
|
||||||
|
python3 -m pip install --upgrade pip --user
|
||||||
|
}
|
||||||
|
|
||||||
function install_pyright() {
|
function install_pyright() {
|
||||||
# Install pyright
|
# Install pyright
|
||||||
sudo npm -g i pyright --force
|
sudo npm -g i pyright --force
|
||||||
@ -49,11 +53,16 @@ function install_gopls() {
|
|||||||
|
|
||||||
function install_black() {
|
function install_black() {
|
||||||
# Install black
|
# Install black
|
||||||
pip install black
|
pip install black --user
|
||||||
pip3 install black
|
pip3 install black --user
|
||||||
|
}
|
||||||
|
|
||||||
|
function install_ansible() {
|
||||||
|
pip3 install --pre --user ansible ansible-lint ansible-core
|
||||||
}
|
}
|
||||||
|
|
||||||
function main() {
|
function main() {
|
||||||
|
command_start update_pip
|
||||||
command_start install_pyright
|
command_start install_pyright
|
||||||
command_start install_bash-language-server
|
command_start install_bash-language-server
|
||||||
command_start install_yaml-language-server
|
command_start install_yaml-language-server
|
||||||
@ -61,6 +70,7 @@ function main() {
|
|||||||
command_start install_shfmt
|
command_start install_shfmt
|
||||||
command_start install_gopls
|
command_start install_gopls
|
||||||
command_start install_black
|
command_start install_black
|
||||||
|
command_start install_ansible
|
||||||
}
|
}
|
||||||
|
|
||||||
main
|
main
|
||||||
|
Loading…
Reference in New Issue
Block a user