mirror of
https://github.com/arnaucube/hyperplonk.git
synced 2026-01-11 16:41:28 +01:00
env setup (#6)
This commit is contained in:
20
nix/vagrant/test-nix-shell-guest
Executable file
20
nix/vagrant/test-nix-shell-guest
Executable file
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euxo pipefail
|
||||
|
||||
# vagrant "ssh + command" does not source, adding -- -t does not help
|
||||
. $HOME/.nix-profile/etc/profile.d/nix.sh
|
||||
if [ -f $HOME/.carg/env ]; then
|
||||
source $HOME/.cargo/env
|
||||
fi
|
||||
|
||||
ssh-keyscan gitlab.com >> ~/.ssh/known_hosts
|
||||
ssh -T git@gitlab.com
|
||||
|
||||
cd /hyperplonk
|
||||
|
||||
nix-shell --run "cargo-clippy"
|
||||
nix-shell --run "cargo fmt -- --check"
|
||||
nix-shell --run "cargo test --doc"
|
||||
nix-shell --run "cargo test --release"
|
||||
|
||||
echo "Ok!"
|
||||
Reference in New Issue
Block a user