Mirror of espurna firmware for wireless switches and more
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.
|
#!/bin/bash
|
|
|
|
set -x -e -v
|
|
|
|
cd code
|
|
|
|
case "$1" in
|
|
("host")
|
|
cd test/ && pio test
|
|
;;
|
|
("webui")
|
|
./build.sh -f environments
|
|
git --no-pager diff --stat
|
|
;;
|
|
("build")
|
|
# shellcheck disable=SC2086
|
|
scripts/test_build.py -e "$TEST_ENV" $TEST_EXTRA_ARGS
|
|
;;
|
|
("release")
|
|
./build.sh -r
|
|
;;
|
|
(*)
|
|
echo -e "\e[1;33mUnknown stage name, exiting!\e[0m"
|
|
exit 1
|
|
;;
|
|
esac
|