1
0

do 635 B

123456789101112131415161718
  1. #!/bin/sh
  2. ##MAINJS=./node_build/make.js ./node_build/node.sh "$@"
  3. set -e
  4. CARGO=$(command -v cargo)
  5. if test "x$CARGO" = "x"; then
  6. printf "Rust is required in order to build cjdns, see https://rustup.rs/ for more info\n"
  7. exit 1
  8. fi
  9. $CARGO build -vv --release
  10. ./target/release/testcjdroute all >/dev/null
  11. mv ./target/release/cjdroute ./
  12. mv ./target/release/makekeys ./
  13. mv ./target/release/mkpasswd ./
  14. mv ./target/release/privatetopublic ./
  15. mv ./target/release/publictoip6 ./
  16. mv ./target/release/randombytes ./
  17. mv ./target/release/sybilsim ./
  18. printf "\x1b[1;32mBuild completed successfully, type ./cjdroute to begin setup.\x1b[0m\n"