1
0
Fork 0

Fix rustup, remove deoplete flag
continuous-integration/drone/push Build was killed Details

main
Ambrose Chua 2021-04-03 14:45:41 +08:00
parent 2dada3f9c5
commit 4327b8a266
3 changed files with 3 additions and 6 deletions

View File

@ -5,7 +5,6 @@ set -eu
# Parse options
nicetohave=true
deoplete=true
go=false
rust=false
rootzsh=false
@ -15,8 +14,6 @@ while [ $# != 0 ]; do
case "$1" in
nonicetohave) nicetohave=false;;
nicetohave) nicetohave=true;;
nodeoplete) deoplete=false;;
deoplete) deoplete=true;;
nogo) go=false;;
go) go=true;;
norust) rust=false;;
@ -260,7 +257,7 @@ esac
# Install Rust
$rust && download_rust
$rust && rustup component add rls rust-analysis rust-src
$rust && source $HOME/.cargo/env && rustup component add rls rust-analysis rust-src
# Install dust

View File

@ -15,7 +15,7 @@ RUN chmod go-rwx .gnupg
USER ambrose
RUN ./.config/yadm/bootstrap rootzsh nodeoplete rust
RUN ./.config/yadm/bootstrap rootzsh rust
LABEL org.opencontainers.image.title="environment"
LABEL org.opencontainers.image.url="https://github.com/serverwentdown/env"

View File

@ -16,7 +16,7 @@ RUN chmod go-rwx .gnupg
USER ambrose
RUN ./.config/yadm/bootstrap rootzsh nodeoplete rust
RUN ./.config/yadm/bootstrap rootzsh rust
LABEL org.opencontainers.image.title="environment"
LABEL org.opencontainers.image.url="https://github.com/serverwentdown/env"