1
0

do 644 B

12345678910111213141516171819
  1. #!/bin/sh
  2. export PATH=$HOME/.cargo/bin:$PATH
  3. CARGO=$(command -v cargo)
  4. set -e
  5. if test "x$CARGO" = "x"; then
  6. printf "Rust & Cargo are required in order to build cjdns\n"
  7. printf "See https://rustup.rs/ for install instructions\n"
  8. exit 1
  9. fi
  10. $CARGO build --release
  11. ./target/release/testcjdroute all >/dev/null
  12. mv ./target/release/cjdroute ./
  13. mv ./target/release/makekeys ./
  14. mv ./target/release/mkpasswd ./
  15. mv ./target/release/privatetopublic ./
  16. mv ./target/release/publictoip6 ./
  17. mv ./target/release/randombytes ./
  18. mv ./target/release/sybilsim ./
  19. printf "\x1b[1;32mBuild completed successfully, type ./cjdroute to begin setup.\x1b[0m\n"