mirror of
https://github.com/nsacyber/HIRS.git
synced 2024-12-18 20:47:58 +00:00
fixed jar file name inside zip
This commit is contained in:
parent
c8ca3ad820
commit
f712f2597f
@ -3,7 +3,7 @@
|
||||
$JavaParams = @{
|
||||
FilePath = 'java'
|
||||
ArgumentList = @(
|
||||
'-jar "{0}"' -f "$PWD\tcg_eventlog_tool-2.1.3.jar"
|
||||
'-jar "{0}"' -f "$PWD\tcg_eventlog_tool/tcg_eventlog_tool.jar"
|
||||
"$args"
|
||||
)
|
||||
}
|
||||
|
@ -4,8 +4,7 @@ $StartInfo.FileName = "$pshome\powershell.exe"
|
||||
$StartInfo.Arguments = "-NoExit -Command
|
||||
`$Host.UI.RawUI.WindowTitle=`'TCG RIM TOOL`';
|
||||
Set-Alias elt '$PWD\eventlog.ps1';
|
||||
Set-Alias rim '$PWD\rim.ps1';
|
||||
# function rim { java -jar 'tcg_rim_tool-2.1.0.jar' $args; };
|
||||
Set-Alias rim '$PWD\rim.ps1';
|
||||
echo 'The TCG RIM TOOL is intended for testing TCG Defined PC Client Reference Integrity Manifests (RIMs)';
|
||||
echo 'for usage type: rim -h';
|
||||
echo 'for eventlog usage type: elt -h'
|
||||
|
@ -3,7 +3,7 @@
|
||||
$JavaParams = @{
|
||||
FilePath = 'java'
|
||||
ArgumentList = @(
|
||||
'-jar "{0}"' -f "$PWD\tcg_rim_tool-2.1.0.jar"
|
||||
'-jar "{0}"' -f "$PWD\tcg_rim_tool/tcg_rim_tool.jar"
|
||||
"$args"
|
||||
)
|
||||
}
|
||||
|
@ -130,13 +130,14 @@ ospackage {
|
||||
task buildZip(type: Zip){
|
||||
dependsOn jar
|
||||
from(tasks.jar.archiveFile){
|
||||
rename( filename ->
|
||||
"${project.name}.jar")
|
||||
into '/'
|
||||
}
|
||||
|
||||
|
||||
archiveBaseName.set(project.name)
|
||||
archiveExtension.set('zip')
|
||||
destinationDirectory.set(file("$buildDir/distributions"))
|
||||
archiveFileName.set("${project.name}.zip")
|
||||
}
|
||||
|
||||
buildZip.dependsOn jar
|
||||
|
@ -133,8 +133,11 @@ buildDeb {
|
||||
}
|
||||
|
||||
task buildZip(type: Zip){
|
||||
dependsOn jar
|
||||
dependsOn jar
|
||||
from(tasks.jar.archiveFile){
|
||||
rename( filename ->
|
||||
"${project.name}.jar")
|
||||
into '/'
|
||||
}
|
||||
from('./build/resources/test/rim_fields.json'){
|
||||
@ -157,8 +160,8 @@ task buildZip(type: Zip){
|
||||
}
|
||||
|
||||
archiveBaseName.set(project.name)
|
||||
archiveExtension.set('zip')
|
||||
destinationDirectory.set(file("$buildDir/distributions"))
|
||||
archiveFileName.set("${project.name}.zip")
|
||||
}
|
||||
|
||||
buildZip.dependsOn jar
|
||||
|
Loading…
Reference in New Issue
Block a user