-
Notifications
You must be signed in to change notification settings - Fork 16
/
go.bat
66 lines (61 loc) · 2.48 KB
/
go.bat
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
@REM GO.BAT, Itzik Kotler, See: https://github.com/SafeBreach-Labs/spacebin
@REM ----------------------------------------------------------------------
@REM
@REM Copyright (c) 2016, SafeBreach
@REM All rights reserved.
@REM
@REM Redistribution and use in source and binary forms, with or without
@REM modification, are permitted provided that the following conditions are
@REM met:
@REM
@REM 1. Redistributions of source code must retain the above
@REM copyright notice, this list of conditions and the following
@REM disclaimer.
@REM
@REM 2. Redistributions in binary form must reproduce the
@REM above copyright notice, this list of conditions and the following
@REM disclaimer in the documentation and/or other materials provided with
@REM the distribution.
@REM
@REM 3. Neither the name of the copyright holder
@REM nor the names of its contributors may be used to endorse or promote
@REM products derived from this software without specific prior written
@REM permission.
@REM
@REM THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS
@REM AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
@REM INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
@REM MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
@REM IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
@REM ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
@REM DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
@REM GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
@REM INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
@REM IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
@REM OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
@REM ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@ECHO OFF
CLS
ECHO **************************
ECHO * Running mkbinrocket.py *
ECHO **************************
ECHO.
IF EXIST .\binsatellite\Release\binsatellite.exe (SET BinSatellitePath=".\binsatellite\Release") ELSE (SET BinSatellitePath=".\binsatellite\x64\Release")
python .\binrocket\mkbinrocket.py %BinSatellitePath%\binsatellite.exe houston.c
ECHO.
ECHO ***********************
ECHO * Compiling houston.c *
ECHO ***********************
ECHO.
CL /MT houston.c
ECHO.
ECHO *********************
ECHO * Running houston.c *
ECHO *********************
ECHO.
houston.exe /D
IF [%1] == [] (houston.exe) ELSE (houston.exe %*)
ECHO.
ECHO ****************************
ECHO * Houston, We Have Liftoff *
ECHO ****************************