We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab27b24 commit c8d1737Copy full SHA for c8d1737
.gitignore
@@ -47,4 +47,6 @@ gen
47
48
.java-version
49
.worktrees
50
-http-client.env.json
+http-client.env.json
51
+/doctest/sql-cli/
52
+.factorypath
doctest/build.gradle
@@ -19,9 +19,12 @@ def path = project(':').projectDir
19
// plugin module, and will only build ppl in it.
20
def plugin_path = project(':doctest').projectDir
21
22
-task cloneSqlCli(type: Exec) {
+task cloneSqlCli() {
23
// clone the sql-cli repo locally
24
- commandLine 'git', 'clone', 'https://github.com/opensearch-project/sql-cli.git'
+ def cliRepo = new File("$projectDir/sql-cli")
25
+ if(!cliRepo.exists()) {
26
+ exec { commandLine 'git', 'clone', 'https://github.com/opensearch-project/sql-cli.git' }
27
+ }
28
}
29
30
task bootstrap(type: Exec, dependsOn: ['cloneSqlCli']) {
0 commit comments