Skip to content

Instantly share code, notes, and snippets.

@rphillips
Created February 10, 2015 18:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rphillips/4946e74f68d1a97addca to your computer and use it in GitHub Desktop.
Save rphillips/4946e74f68d1a97addca to your computer and use it in GitHub Desktop.
@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