diff options
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build.gradle b/build.gradle index 75f4766..856347d 100644 --- a/build.gradle +++ b/build.gradle @@ -18,7 +18,7 @@ ext { sshUser = 'yvesf' sshHost = 'xapek.org' sshTargetDir = 'public_html/public/debian/files' - sshRebuildCommand = 'cd public_html/public/debian && make' + sshReindexCommand = 'cd public_html/public/debian && make' } allprojects { @@ -36,8 +36,8 @@ allprojects { } } -def rebuildRepositoryIndex = tasks.create('rebuildRepositoryIndex') -rebuildRepositoryIndex << { +def reindex = tasks.create('reindex') +reindex << { ant.taskdef( name: 'antSsh', classname: 'org.apache.tools.ant.taskdefs.optional.ssh.SSHExec', @@ -48,7 +48,7 @@ rebuildRepositoryIndex << { username: sshUser, keyfile: file(sshKeyfile), knownhosts: file(sshKnownHosts), - command: sshRebuildCommand, + command: sshReindexCommand, verbose: true) } @@ -84,4 +84,4 @@ subprojects { project.afterEvaluate { ospackage.version = "${project.version}-${new Date().format("yyyyMMdd-HHmmss")}" } -}
\ No newline at end of file +} |