-
-
Save rphillips/4946e74f68d1a97addca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@ECHO off | |
IF NOT "x%1" == "x" GOTO :%1 | |
:virgo-base | |
ECHO "Building virgo-base" | |
set LUVI_APP=app | |
SET LUVI_TARGET=virgo-base.exe | |
lit.exe make app | |
SET "LUVI_APP=" | |
SET "LUVI_TARGET=" | |
GOTO :end | |
:lit | |
ECHO "Building lit" | |
git clone --depth 1 https://github.com/luvit/luvi-binaries.git | |
git clone --depth 1 https://github.com/luvit/lit.git lit | |
SET LUVI_APP=lit/app | |
SET LUVI_TARGET=lit.exe | |
luvi-binaries\Windows\luvi.exe | |
SET "LUVI_APP=" | |
SET "LUVI_TARGET=" | |
GOTO :end | |
:test | |
SET "LUVI_APP=" | |
SET "LUVI_TARGET=" | |
CALL Make.bat virgo-base | |
virgo-base.exe tests\run.lua | |
GOTO :end | |
:clean | |
IF EXIST luvit.exe DEL /F /Q luvit.exe | |
:end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment