Fork of the espurna firmware for `mhsw` switches
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.

25 lines
365 B

  1. #!/bin/bash
  2. set -x -e -v
  3. cd code
  4. case "$1" in
  5. ("host")
  6. cd test/ && pio test
  7. ;;
  8. ("webui")
  9. ./build.sh -f environments
  10. ;;
  11. ("build")
  12. # shellcheck disable=SC2086
  13. scripts/test_build.py -e "$TEST_ENV" $TEST_EXTRA_ARGS
  14. ;;
  15. ("release")
  16. ./build.sh -r
  17. ;;
  18. (*)
  19. echo -e "\e[1;33mUnknown stage name, exiting!\e[0m"
  20. exit 1
  21. ;;
  22. esac