HIRS/HIRS_ProvisionerTPM2/build.gradle

24 lines
382 B
Groovy
Raw Normal View History

2018-09-06 13:47:33 +00:00
task cleanup() {
delete 'build'
}
task prep(type: Exec) {
workingDir './'
commandLine 'mkdir', 'build'
}
task cmake(type: Exec) {
workingDir './build'
commandLine 'cmake', '../'
}
task make(type: Exec) {
workingDir './build'
commandLine 'make'
}
task fullBuild(type: GradleBuild) {
tasks = ['cleanup', 'prep', 'cmake', 'make']
}
build.dependsOn tasks.fullBuild