2019-06-28 23:59:27 +02:00
|
|
|
const { join } = require("path");
|
|
|
|
|
|
|
|
const runtimePackagesDirectory = "./runtime_apps";
|
|
|
|
|
2019-07-01 23:49:13 +02:00
|
|
|
const getRuntimeAppsDirectory = (appName) =>
|
|
|
|
join(runtimePackagesDirectory, appName);
|
|
|
|
|
2019-06-28 23:59:27 +02:00
|
|
|
module.exports.runtimePackagesDirectory = runtimePackagesDirectory;
|
|
|
|
|
|
|
|
module.exports.getRuntimePackageDirectory = (appName, versionId) =>
|
2019-07-01 23:49:13 +02:00
|
|
|
join(
|
|
|
|
getRuntimeAppsDirectory(appName),
|
|
|
|
versionId);
|
|
|
|
|
|
|
|
module.exports.getRuntimeAppsDirectory = getRuntimeAppsDirectory;
|