print shasums on build

This commit is contained in:
Leijurv 2018-10-16 17:00:37 -07:00
parent 85b038dada
commit 3aa8f51015
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 2 additions and 0 deletions

View File

@ -62,6 +62,8 @@ public class CreateDistTask extends BaritoneGradleTask {
.map(path -> sha1(path) + " " + path.getFileName().toString())
.collect(Collectors.toList());
shasum.forEach(System.out::println);
// Write the checksums to a file
Files.write(getRelativeFile("dist/checksums.txt"), shasum);
}