-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathcake.ps1
92 lines (69 loc) · 4.3 KB
/
cake.ps1
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
[string]$project_core = 'Zongsoft.Core/build.cake'
[string]$project_data = 'Zongsoft.Data/build.cake'
[string]$project_net = 'Zongsoft.Net/build.cake'
[string]$project_web = 'Zongsoft.Web/build.cake'
[string]$project_diagnostics = 'Zongsoft.Diagnostics/build.cake'
[string]$project_plugins = 'Zongsoft.Plugins/build.cake'
[string]$project_plugins_web = 'Zongsoft.Plugins.Web/build.cake'
[string]$project_security = 'Zongsoft.Security/build.cake'
[string]$project_commands = 'Zongsoft.Commands/build.cake'
[string]$project_reporting = 'Zongsoft.Reporting/build.cake'
[string]$project_messaging_mqtt = 'Zongsoft.Messaging.Mqtt/build.cake'
[string]$project_messaging_kafka = 'Zongsoft.Messaging.Kafka/build.cake'
[string]$project_messaging_zeromq = 'Zongsoft.Messaging.ZeroMQ/build.cake'
[string]$project_aliyun = 'externals/aliyun/build.cake'
[string]$project_redis = 'externals/redis/build.cake'
[string]$project_wechat = 'externals/wechat/build.cake'
[string]$project_closedxml = 'externals/closedxml/build.cake'
[string]$project_hangfire = 'externals/hangfire/build.cake'
[string]$project_scriban = 'externals/scriban/build.cake'
[string]$project_python = 'externals/python/build.cake'
[string]$project_lua = 'externals/lua/build.cake'
[string]$project_administratives = '../Administratives/build.cake'
[string]$CAKE_ARGS = '--verbosity=normal'
Write-Host "dotnet cake $project_core $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_core $CAKE_ARGS $ARGS
Write-Host "dotnet cake $project_data $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_data $CAKE_ARGS $ARGS
Write-Host "dotnet cake $project_net $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_net $CAKE_ARGS $ARGS
Write-Host "dotnet cake $project_web $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_web $CAKE_ARGS $ARGS
Write-Host "dotnet cake $project_diagnostics $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_diagnostics $CAKE_ARGS $ARGS
Write-Host "dotnet cake $project_plugins $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_plugins $CAKE_ARGS $ARGS
dotnet cake $project_plugins_web $CAKE_ARGS $ARGS
Write-Host "dotnet cake $project_security $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_security $CAKE_ARGS $ARGS
Write-Host "dotnet cake $project_commands $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_commands $CAKE_ARGS $ARGS
Write-Host "dotnet cake $project_reporting $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_reporting $CAKE_ARGS $ARGS
Write-Host "dotnet cake $project_messaging_mqtt $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_messaging_mqtt $CAKE_ARGS $ARGS
Write-Host "dotnet cake $project_messaging_kafka $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_messaging_kafka $CAKE_ARGS $ARGS
Write-Host "dotnet cake $project_messaging_zeromq $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_messaging_zeromq $CAKE_ARGS $ARGS
Write-Host "dotnet cake $project_aliyun $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_aliyun $CAKE_ARGS $ARGS
Write-Host "dotnet cake $project_redis $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_redis $CAKE_ARGS $ARGS
Write-Host "dotnet cake $project_wechat $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_wechat $CAKE_ARGS $ARGS
Write-Host "dotnet cake $project_closedxml $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_closedxml $CAKE_ARGS $ARGS
Write-Host "dotnet cake $project_hangfire $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_hangfire $CAKE_ARGS $ARGS
Write-Host "dotnet cake $project_scriban $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_scriban $CAKE_ARGS $ARGS
Write-Host "dotnet cake $project_python $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_python $CAKE_ARGS $ARGS
Write-Host "dotnet cake $project_lua $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_lua $CAKE_ARGS $ARGS
if(Test-Path $project_administratives)
{
Write-Host "dotnet cake $project_administratives $CAKE_ARGS $ARGS" -ForegroundColor Magenta
dotnet cake $project_administratives $CAKE_ARGS $ARGS
}