Skip to content

Commit

Permalink
revert ignoring sql-cli repo if exists
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Li <joshuali925@gmail.com>
  • Loading branch information
joshuali925 committed May 30, 2023
1 parent c8d1737 commit 2978737
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions doctest/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,9 @@ def path = project(':').projectDir
// plugin module, and will only build ppl in it.
def plugin_path = project(':doctest').projectDir

task cloneSqlCli() {
task cloneSqlCli(type: Exec) {
// clone the sql-cli repo locally
def cliRepo = new File("$projectDir/sql-cli")
if(!cliRepo.exists()) {
exec { commandLine 'git', 'clone', 'https://github.com/opensearch-project/sql-cli.git' }
}
commandLine 'git', 'clone', 'https://github.com/opensearch-project/sql-cli.git'
}

task bootstrap(type: Exec, dependsOn: ['cloneSqlCli']) {
Expand Down

0 comments on commit 2978737

Please sign in to comment.