Distribute documentation in API archive

This commit is contained in:
Oliver Hamlet
2016-09-22 07:52:31 +01:00
parent ae82234e12
commit bd08d55903
2 changed files with 3 additions and 16 deletions
+3 -3
View File
@@ -183,10 +183,10 @@ function createApiArchive(rootPath, releasePath, tempPath, destPath) {
path.join(tempPath, 'include', 'loot')
);
// Readme.
// Documentation.
fs.copySync(
path.join(rootPath, 'docs', 'api', 'README.md'),
path.join(tempPath, 'README.md')
path.join(rootPath, 'build', 'docs', 'html'),
path.join(tempPath, 'docs')
);
// Now compress the folder to a 7-zip archive.