forked from microsoft/TypeScript-DOM-lib-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.cmd
More file actions
26 lines (20 loc) · 646 Bytes
/
build.cmd
File metadata and controls
26 lines (20 loc) · 646 Bytes
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
@echo off
cls
if not exist .paket mkdir .paket
if not exist .paket/paket.bootstrapper.exe (
@echo "Installing Paket"
Powershell.exe -NoProfile -Command "Invoke-WebRequest -Uri https://github.com/fsprojects/Paket/releases/download/2.12.5/paket.bootstrapper.exe -OutFile .paket\paket.bootstrapper.exe"
.paket\paket.bootstrapper.exe prerelease
if errorlevel 1 (
exit /b %errorlevel%
)
)
if not exist paket.lock (
@echo "Installing dependencies"
.paket\paket.exe install
) else (
@echo "Restoring dependencies"
.paket\paket.exe restore
)
@echo "Building..."
packages\FAKE\tools\FAKE.exe %* --fsiargs --optimize+ build.fsx