Skip to content

Commit 9521faf

Browse files
committed
update build and run-test script
1 parent 770075b commit 9521faf

File tree

4 files changed

+25
-8
lines changed

4 files changed

+25
-8
lines changed

build.bat

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
@ECHO OFF
22
.paket\paket.bootstrapper.exe
33
.paket\paket.exe restore
4-
packages\FAKE\tools\FAKE.exe build.fsx
4+
packages\FAKE\tools\FAKE.exe build.fsx GenerateApi
5+
6+
dotnet restore .\projects\client\RabbitMQ.Client
7+
dotnet build .\projects\client\RabbitMQ.Client

build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,7 @@ set -e
44

55
mono .paket/paket.bootstrapper.exe
66
mono .paket/paket.exe restore
7-
mono ./packages/FAKE/tools/FAKE.exe build.fsx
7+
mono ./packages/FAKE/tools/FAKE.exe build.fsx GenerateApi
8+
9+
dotnet restore ./projects/client/RabbitMQ.Client
10+
dotnet build ./projects/client/RabbitMQ.Client

run-test.bat

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
@ECHO OFF
2-
.paket\paket.bootstrapper.exe
3-
.paket\paket.exe restore
4-
packages\FAKE\tools\FAKE.exe build.fsx Test
2+
3+
dotnet restore .\projects\client\RabbitMQ.Client
4+
dotnet build .\projects\client\RabbitMQ.Client
5+
dotnet restore .\projects\client\Unit
6+
dotnet build .\projects\client\Unit
7+
dotnet restore .\projects\client\Unit.Runner
8+
cd .\projects\client\Unit.Runner
9+
dotnet run

run-test.sh

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
set -e
44

5-
mono .paket/paket.bootstrapper.exe
6-
mono .paket/paket.exe restore
7-
mono ./packages/FAKE/tools/FAKE.exe build.fsx Test
5+
dotnet restore ./projects/client/RabbitMQ.Client
6+
dotnet build ./projects/client/RabbitMQ.Client
7+
dotnet restore ./projects/client/Unit
8+
dotnet build ./projects/client/Unit
9+
dotnet restore ./projects/client/Unit.Runner
10+
cd ./projects/client/Unit.Runner
11+
dotnet run
12+
13+

0 commit comments

Comments
 (0)