Skip to content

Commit e7dccce

Browse files
committed
Included general rules in OnStage Main rules file
1 parent 9d9601e commit e7dccce

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

build_rules_on_windows.bat

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,14 @@ for /d %%i in (*) do (
5454
if /i "!folderName!" neq "icons" (
5555
if /i "!folderName!" neq "media" (
5656
if /i "!folderName!" neq "rules_documents" (
57-
echo [!folderIndex!] %%i
58-
rem Store folder name in array with corresponding index
59-
set "folderArray[!folderIndex!]=%%i"
60-
set /a "folderIndex+=1"
57+
if /i "!folderName!" neq "general-rules" (
58+
if /i "!folderName!" neq "tmp" (
59+
echo [!folderIndex!] %%i
60+
rem Store folder name in array with corresponding index
61+
set "folderArray[!folderIndex!]=%%i"
62+
set /a "folderIndex+=1"
63+
)
64+
)
6165
)
6266
)
6367
)

onstage_rules/rules.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ From 2021 onwards, there will be no sub-leagues in RoboCupJunior OnStage.
6262
|===
6363

6464
[[general-rules]]
65-
include::general-rules/general-rules.adoc[]
65+
include::../general-rules/general-rules.adoc[]
6666

6767
[[judging-overview]]
6868
== Judging Overview

0 commit comments

Comments
 (0)