forked from SaladLab/Json.Net.Unity3D
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.cmd
More file actions
24 lines (18 loc) · 634 Bytes
/
build.cmd
File metadata and controls
24 lines (18 loc) · 634 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
@echo off
pushd %~dp0
SET PACKAGEPATH=.\packages\
SET NUGET=.\tools\nuget\NuGet.exe
SET NUGETOPTIONS=-ConfigFile .\tools\nuget\NuGet.Config -OutputDirectory %PACKAGEPATH% -ExcludeVersion
IF NOT EXIST %PACKAGEPATH%FAKE\Ver_4.28.0 (
RD /S/Q %PACKAGEPATH%FAKE
%NUGET% install FAKE -Version 4.28.0 %NUGETOPTIONS%
COPY NUL %PACKAGEPATH%FAKE\Ver_4.28.0
)
IF NOT EXIST %PACKAGEPATH%FAKE.BuildLib\Ver_0.3.6 (
RD /S/Q %PACKAGEPATH%FAKE.BuildLib
%NUGET% install FAKE.BuildLib -Version 0.3.6 %NUGETOPTIONS%
COPY NUL %PACKAGEPATH%FAKE.BuildLib\Ver_0.3.6
)
set encoding=utf-8
"%PACKAGEPATH%FAKE\tools\FAKE.exe" build.fsx %*
popd