Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions bin/cxxtestgen.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
@echo off
rem Just run the python script
python %0 %*
setlocal

rem Strip .bat extension, if present
set me=%0
if "%me:~-4,4%" == ".bat" (set py=%me:~0,-4%) else (set py=%me%)
rem Run the python script
python %py% %*