1
0
Fork 0
mirror of synced 2024-07-07 07:15:43 +12:00
budibase/packages/server/utilities/runtimePackages.js

16 lines
457 B
JavaScript
Raw Normal View History

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