You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by ma...@apache.org on 2014/01/15 22:37:58 UTC
[35/50] [abbrv] git commit: more compact build file.
more compact build file.
Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/d43f546f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/d43f546f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/d43f546f
Branch: refs/heads/mansu/AURORA-4187_scheduler_home_page-no-seed
Commit: d43f546f134f0207a7220e8a5e362fa136de9e01
Parents: b6f5598
Author: Suman Karumuri <sk...@twitter.com>
Authored: Fri Jan 3 14:30:11 2014 -0800
Committer: Suman Karumuri <sk...@twitter.com>
Committed: Mon Jan 13 15:24:39 2014 -0800
----------------------------------------------------------------------
build.gradle | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/d43f546f/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index 92e7753..d749b9b 100644
--- a/build.gradle
+++ b/build.gradle
@@ -203,20 +203,16 @@ task generateSources(dependsOn: 'bootstrapThrift') {
inputs.file inputFiles
outputs.dir outputDir
doFirst {
- // Generate Java thrift files.
+ // Generate Java and Javascript thrift files.
outputDir.exists() || outputDir.mkdirs()
inputFiles.each { File file ->
exec {
executable = thriftBinary
args = ['--gen', 'java:hashcode', '-o', outputDir, file]
}
- }
-
- // Generate JS thrift files
- inputFiles.each { File file ->
exec {
- executable = thriftBinary
- args = ['--gen', 'js', '-o', outputDir, file]
+ executable = thriftBinary
+ args = ['--gen', 'js', '-o', outputDir, file]
}
}