You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
456 B

2 years ago
  1. #!/usr/bin/env bash
  2. set -euxo pipefail
  3. # vagrant "ssh + command" does not source, adding -- -t does not help
  4. . $HOME/.nix-profile/etc/profile.d/nix.sh
  5. if [ -f $HOME/.carg/env ]; then
  6. source $HOME/.cargo/env
  7. fi
  8. ssh-keyscan gitlab.com >> ~/.ssh/known_hosts
  9. ssh -T git@gitlab.com
  10. cd /hyperplonk
  11. nix-shell --run "cargo-clippy"
  12. nix-shell --run "cargo fmt -- --check"
  13. nix-shell --run "cargo test --doc"
  14. nix-shell --run "cargo test --release"
  15. echo "Ok!"