mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-04-27 14:57:41 +00:00
ensure nightly in rustup
This commit is contained in:
parent
e35e23238e
commit
ba3c27322f
2 changed files with 5 additions and 1 deletions
1
Makefile
1
Makefile
|
|
@ -145,6 +145,7 @@ ssh-submodule-urls:
|
||||||
|
|
||||||
install-rust:
|
install-rust:
|
||||||
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
|
curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain nightly
|
||||||
|
rustup update nightly
|
||||||
|
|
||||||
rust-ext:
|
rust-ext:
|
||||||
[ "$$READTHEDOCS" != "True" ] || $(MAKE) install-rust
|
[ "$$READTHEDOCS" != "True" ] || $(MAKE) install-rust
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,15 @@
|
||||||
make install-rust
|
|
||||||
echo "export PATH=$HOME/.cargo/bin/:$PATH" >> $BASH_ENV
|
echo "export PATH=$HOME/.cargo/bin/:$PATH" >> $BASH_ENV
|
||||||
|
. $BASH_ENV
|
||||||
|
|
||||||
|
make install-rust
|
||||||
sudo apt-get install -y cmake
|
sudo apt-get install -y cmake
|
||||||
|
|
||||||
pip install --user virtualenv
|
pip install --user virtualenv
|
||||||
~/.local/bin/virtualenv ~/env
|
~/.local/bin/virtualenv ~/env
|
||||||
|
|
||||||
echo ". ~/env/bin/activate" >> $BASH_ENV
|
echo ". ~/env/bin/activate" >> $BASH_ENV
|
||||||
. $BASH_ENV
|
. $BASH_ENV
|
||||||
|
|
||||||
pip install docker-compose
|
pip install docker-compose
|
||||||
|
|
||||||
make -e install-dev install-test
|
make -e install-dev install-test
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue