Add a readme file for the API

That links to the online documentation.
This commit is contained in:
Oliver Hamlet
2016-08-24 08:08:15 +01:00
parent ec018387ac
commit 02fe9f70d2
2 changed files with 17 additions and 5 deletions
+4 -5
View File
@@ -191,18 +191,17 @@ function createApiArchive(rootPath, releasePath, tempPath, destPath) {
);
});
// API header file.
// API header files.
fs.mkdirsSync(path.join(tempPath, 'include'));
fs.copySync(
path.join(rootPath, 'include', 'loot'),
path.join(tempPath, 'include', 'loot')
);
// Docs.
fs.mkdirsSync(path.join(tempPath, 'docs'));
// Readme.
fs.copySync(
path.join(rootPath, 'docs', 'licenses'),
path.join(tempPath, 'docs', 'licenses')
path.join(rootPath, 'docs', 'api', 'README.md'),
path.join(tempPath, 'README.md')
);
// Now compress the folder to a 7-zip archive.