//js file signature
ShaSigner.signArtifact(outRepo, artifact, jsart, logger);
ShaSigner.signArtifact(outRepo, martifact, modart, logger);
//Create the src archive
if (opts.isGenerateSourceArchive()) {
ArtifactCreator sac = CeylonUtils.makeSourceArtifactCreator(
outRepo,
opts.getSrcDirs(),
moduleName, moduleVersion,
opts.isVerbose(), logger);
sac.copy(FileUtil.filesToPathList(jsout.getSources()));
}
if (resFiles != null && !resFiles.isEmpty()) {
ArtifactCreator sac = CeylonUtils.makeResourceArtifactCreator(
outRepo,
opts.getSrcDirs(),
opts.getResourceDirs(),
opts.getResourceRootName(),
moduleName, moduleVersion,
opts.isVerbose(), logger);
sac.copy(FileUtil.filesToPathList(filterForModule(resFiles, opts.getResourceDirs(), moduleName)));
}
}
FileUtil.deleteQuietly(jsart);
if (modart!=null) FileUtil.deleteQuietly(modart);
}