mirror of
https://github.com/Cpt-Adok/SNAKE.git
synced 2026-01-25 13:34:07 +00:00
mise en place d'un runner pour windows (UTF-8)
This commit is contained in:
17
run.bat
Normal file
17
run.bat
Normal file
@@ -0,0 +1,17 @@
|
||||
@echo off
|
||||
|
||||
set "error_file=error.txt"
|
||||
|
||||
chcp 65001
|
||||
make 2> %error_file%
|
||||
|
||||
for %%A in ("%error_file%") do set "errror_size=%%~zA"
|
||||
|
||||
if %errror_size% gtr 0 (
|
||||
@echo Vous avez besoin d'installer make ou allez sur le repertoire ou contient Makefile pour lancer correctement le programme.
|
||||
)
|
||||
|
||||
del /Q %error_file%
|
||||
|
||||
pause > null
|
||||
exit
|
||||
Reference in New Issue
Block a user