magnetrwn / raylib-bubbles

C++11 Raylib bubble shooter game.
https://magnetrwn.github.io/raylib-bubbles/
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

TODO: Make a build shell script for Powershell on Windows platforms. #5

Open magnetrwn opened 8 months ago

magnetrwn commented 8 months ago
@echo off
SETLOCAL ENABLEDELAYEDEXPANSION

cd build
if exist bubbles del bubbles
cmake ..
cmake --build . --config Release
del /Q /F ../bubbles_build*.zip 2>nul
del /Q /F CMakeFiles cmake_install.cmake CMakeCache.txt Makefile 2>nul
move compile_commands.json ../
cd ..
powershell Compress-Archive -Path build/* -DestinationPath "bubbles_build%date:~-4,4%%date:~-10,2%%date:~-7,2%%time:~0,2%%time:~3,2%%time:~6,2%.zip"

SET LSAN_OPTIONS=verbosity=1:log_threads=1
build\bubbles.exe

I need to test this on a Windows platform...

magnetrwn commented 8 months ago

Well, after PR #8 this batch script needs to be modified again...