forked from Farfetch/kafkaflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
30 lines (24 loc) · 936 Bytes
/
Makefile
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
.PHONY: init_broker shutdown_broker
init_broker:
@echo command | date
@echo Initializing Kafka broker
docker-compose -f docker-compose.yml up -d
shutdown_broker:
@echo command | date
@echo Shutting down kafka broker
docker-compose -f docker-compose.yml down
restore:
dotnet restore src/KafkaFlow.sln
build:
dotnet build src/KafkaFlow.sln
unit_tests:
@echo command | date
@echo Running unit tests
dotnet test src/KafkaFlow.UnitTests/KafkaFlow.UnitTests.csproj --framework netcoreapp2.1 --logger "console;verbosity=detailed"
dotnet test src/KafkaFlow.UnitTests/KafkaFlow.UnitTests.csproj --framework netcoreapp3.1 --logger "console;verbosity=detailed"
integration_tests:
@echo command | date
make init_broker
@echo Running integration tests
dotnet test src/KafkaFlow.IntegrationTests/KafkaFlow.IntegrationTests.csproj -c Release --framework netcoreapp3.1 --logger "console;verbosity=detailed"
make shutdown_broker