Skip to content
This repository
tag: v0.5
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 49 lines (41 sloc) 0.714 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
@ECHO OFF

SETLOCAL
CALL :setvars
SET cmd=%1
IF "%cmd%"=="" SET cmd=all
GOTO %cmd%

:all
devenv /rebuild %devargs%
GOTO :eof

:setvars
CALL :vs
SET name=IronAHK
SET libname=Rusty
SET config=Release
SET outdir=bin
SET site=Site
SET devargs="%config%" "%name%.sln"
GOTO :eof

:vs
IF DEFINED VSSETVARS GOTO :eof
IF NOT DEFINED VS90COMNTOOLS (
ECHO Visual Studio 9.0 is not installed.
EXIT 1
)
CALL "%VS90COMNTOOLS%\vsvars32.bat" >NUL
SET VSSETVARS=1
GOTO :eof

:docs
CALL :all
php-cgi -f "%name%\%site%\transform.php"
GOTO :eof

:mostlyclean
CALL :clean
php-cgi -f "%name%\%site%\clean.php" > NUL
GOTO :eof

:clean
FOR /D %%G IN ("*") DO (
RMDIR /Q /S "%%G\%outdir%" 2>NUL
RMDIR /Q /S "%%G\obj" 2>NUL
)
GOTO :eof
Something went wrong with that request. Please try again.