Skip to content

Commit 450f4a9

Browse files
committed
Update cluster build command so you can run clusters
1 parent c7042e5 commit 450f4a9

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

build/scripts/Paths.fs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ module Paths =
1818

1919
let InplaceBuildOutput project tfm =
2020
sprintf "src/%s/bin/Release/%s" project tfm
21+
let InplaceBuildTestOutput project tfm =
22+
sprintf "tests/%s/bin/Release/%s" project tfm
2123
let MagicDocumentationFile =
2224
"src/Elasticsearch.Net/obj/Release/netstandard2.1/Elasticsearch.Net.csprojAssemblyReference.cache"
2325

build/scripts/ReposTooling.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module ReposTooling =
1515
let clusterName = Option.defaultValue "" <| match args.CommandArguments with | Cluster c -> Some c.Name | _ -> None
1616
let clusterVersion = Option.defaultValue "" <|match args.CommandArguments with | Cluster c -> c.Version | _ -> None
1717

18-
let testsProjectDirectory = Path.Combine(Path.GetFullPath(Paths.Output("Tests.ClusterLauncher")), "net5.0")
18+
let testsProjectDirectory = Path.GetFullPath(Paths.InplaceBuildTestOutput "Tests.ClusterLauncher" "net5.0")
1919
let tempDir = Path.Combine(Path.GetTempPath(), Path.GetRandomFileName());
2020

2121
printfn "%s" testsProjectDirectory

0 commit comments

Comments
 (0)