mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-07 11:58:13 +00:00
Update build_example_web.bat
This commit is contained in:
@@ -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
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user