redoxer.sh 272 B

123456789101112131415161718
  1. #!/usr/bin/env bash
  2. set -e
  3. if ! which redoxer
  4. then
  5. cargo install redoxer
  6. fi
  7. if [ ! -d "$HOME/.redoxer/toolchain" ]
  8. then
  9. redoxer toolchain
  10. fi
  11. export CARGOFLAGS=""
  12. export CARGO_TEST="redoxer"
  13. export TEST_RUNNER="redoxer exec --folder . --"
  14. redoxer env make "$@"