This repository was archived by the owner on Aug 18, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathpsake.cmd
More file actions
52 lines (45 loc) · 1.19 KB
/
psake.cmd
File metadata and controls
52 lines (45 loc) · 1.19 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
49
50
51
@echo off
setlocal
title Fast Http Request Build
echo.
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++"
echo "+ Fast Http Request Build
echo "+
echo "+ v.la@Live.cn
echo "+
echo "++++++++++++++++++++++++++++++++++++++++++++++++++++"
:menu
echo.
echo [1] Build Lib
echo [2] Build Nuget
echo [h] psake help
echo [0] Exit
echo.
@echo Please select?
@echo Enter the above option to enter
@echo off
set /p menu=
if %menu% == 0 goto exit
if %menu% == 1 goto 1
if %menu% == 2 goto 2
if %menu% == h goto help
goto :eof
:1
powershell -NoProfile -ExecutionPolicy Bypass -Command "& '%~dp0tools\psake\psake.ps1' build.ps1 %*; if ($psake.build_success -eq $false) { exit 1 } else { exit 0 }"
echo.
echo Build ok!
echo.
set menu=
goto menu
:2
powershell -NoProfile -ExecutionPolicy Bypass -Command "& '%~dp0tools\psake\psake.ps1' build-nuget.ps1 %*; if ($psake.build_success -eq $false) { exit 1 } else { exit 0 }"
echo.
echo Build ok!
echo.
set menu=
goto menu
:help
powershell -NoProfile -ExecutionPolicy Bypass -Command "& '%~dp0tools\psake\psake.ps1' -help"
goto menu
:exit
goto :eof