mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-06 14:23:12 +00:00
Update build_example_web.bat
This commit is contained in:
parent
b01c8a7a90
commit
159a9eac4a
@ -1,10 +1,10 @@
|
|||||||
::@echo off
|
::@echo off
|
||||||
:: .
|
:: .
|
||||||
:: Compile your examples for web using: build_example_web.bat <example_category>\<example_name>
|
:: Compile your examples for web using: build_example_web.bat <example_category>/<example_name>
|
||||||
:: .
|
:: .
|
||||||
set "INPUT_FILE=%1"
|
set "INPUT_FILE=%1"
|
||||||
:: Change delimiter for the FOR loop
|
:: Change delimiter for the FOR loop
|
||||||
for /f "tokens=1-10 delims=\" %%a in ("%INPUT_FILE%") do (
|
for /f "tokens=1-10 delims=/" %%a in ("%INPUT_FILE%") do (
|
||||||
set CATEGORY=%%a
|
set CATEGORY=%%a
|
||||||
set FILENAME=%%b
|
set FILENAME=%%b
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user