Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 658ba46

Browse files
committed
print builder
1 parent d5a5b17 commit 658ba46

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

‎tests/build.sh‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,11 @@ case "$ESP8266_ARDUINO_BUILDER" in
9797
install_platformio nodemcuv2
9898
build_sketches_with_platformio "$mod" "$rem"
9999
;;
100+
"print")
101+
print_sketch_info "$mod" "$rem"
102+
;;
100103
*)
101-
echo "Unknown builder! Must be either arduinoor platformio"
104+
echo "Unknown builder! Must be one of - arduino, platformio or print"
102105
exit 1
103106
;;
104107
esac

‎tests/common.sh‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,23 @@ END {
107107
awk -v sketch_name="${elf_name%.*}" "$awk_script" -
108108
}
109109

110+
function print_sketch_info()
111+
{
112+
local build_mod=1ドル
113+
local build_rem=2ドル
114+
115+
local testcnt=0
116+
117+
for sketch in $ESP8266_ARDUINO_SKETCHES; do
118+
testcnt=$(( ($testcnt + 1) % $build_mod ))
119+
if [ $testcnt -ne $build_rem ]; then
120+
continue # Not ours to do
121+
fi
122+
123+
echo $sketch
124+
done
125+
}
126+
110127
function format_fqbn()
111128
{
112129
local board_name=1ドル

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /