Reorg test fixtures

This commit is contained in:
Joshua Peek
2012-06-07 12:17:24 -05:00
parent a708993388
commit 4df3199818
153 changed files with 130 additions and 314 deletions

17
test/fixtures/groovy/build.gradle vendored Normal file
View File

@@ -0,0 +1,17 @@
task echoDirListViaAntBuilder() {
description = 'Uses the built-in AntBuilder instance to echo and list files'
//Docs: http://ant.apache.org/manual/Types/fileset.html
//Echo the Gradle project name via the ant echo plugin
ant.echo(message: project.name)
ant.echo(path)
ant.echo("${projectDir}/samples")
//Gather list of files in a subdirectory
ant.fileScanner{
fileset(dir:"samples")
}.each{
//Print each file to screen with the CWD (projectDir) path removed.
println it.toString() - "${projectDir}"
}
}

2
test/fixtures/groovy/script.groovy vendored Executable file
View File

@@ -0,0 +1,2 @@
#!/usr/bin/env groovy
println "Groovy!"