forked from fslaborg/RProvider
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.cmd
37 lines (28 loc) · 772 Bytes
/
build.cmd
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
@echo off
if not exist .paket\paket.bootstrapper.exe goto pktbootnotfound
.paket\paket.bootstrapper.exe
if not errorlevel 0 goto pktbootfailed
.paket\paket.exe restore
if not errorlevel 0 goto pktrestorefailed
packages\FAKE\tools\FAKE.exe %* --fsiargs -d:MONO build.fsx
if not errorlevel 0 goto fakefailed
set exit_code=0
goto leave
:pktbootnotfound
echo command not found: .paket\paket.bootstrapper.exe
set exit_code=1
goto leave
:pktbootfailed
echo command failed: .paket\paket.bootstrapper.exe
set exit_code=1
goto leave
:pktrestorefailed
echo command failed: .paket\paket.exe restore
set exit_code=1
goto leave
:fakefailed
echo command failed: packages\FAKE\tools\FAKE.exe %* --fsiargs -d:MONO build.fsx
set exit_code=1
goto leave
:leave
exit /b %exit_code%