From 61706274b0944aa7630279c019d4e78169a158cd Mon Sep 17 00:00:00 2001 From: Tom Gardham-Pallister Date: Fri, 19 Aug 2016 22:02:13 +0100 Subject: [PATCH] very simple build scripts --- build.sh | 16 ++++++++++++++++ run-benchmarks.sh | 14 ++++++++++++++ run-tests.sh | 12 ++++++++++++ 3 files changed, 42 insertions(+) create mode 100755 build.sh create mode 100755 run-benchmarks.sh create mode 100755 run-tests.sh diff --git a/build.sh b/build.sh new file mode 100755 index 00000000..ae56ff00 --- /dev/null +++ b/build.sh @@ -0,0 +1,16 @@ + #!/bin/bash +echo ------------------------- + +echo Running Ocelot.UnitTests + +dotnet test test/Ocelot.UnitTests/ + +echo Running Ocelot.AcceptanceTests + +dotnet test test/Ocelot.AcceptanceTests/ + +echo Building Ocelot + +dotnet publish src/Ocelot + + diff --git a/run-benchmarks.sh b/run-benchmarks.sh new file mode 100755 index 00000000..6ca94700 --- /dev/null +++ b/run-benchmarks.sh @@ -0,0 +1,14 @@ + #!/bin/bash +echo ------------------------- + +echo Running Ocelot.Benchmarks + +cd test/Ocelot.Benchmarks + +dotnet run + +cd ../../ + + + + diff --git a/run-tests.sh b/run-tests.sh new file mode 100755 index 00000000..90b53058 --- /dev/null +++ b/run-tests.sh @@ -0,0 +1,12 @@ + #!/bin/bash +echo ------------------------- + +echo Running Ocelot.UnitTests + +dotnet test test/Ocelot.UnitTests/ + +echo Running Ocelot.AcceptanceTests + +dotnet test test/Ocelot.AcceptanceTests/ + +