tsdocker/ts/npmdocker.paths.ts

14 lines
468 B
TypeScript
Raw Normal View History

2016-07-18 18:48:34 +00:00
import * as plugins from "./npmdocker.plugins";
2016-07-19 17:21:06 +00:00
// directories
export let cwd = process.cwd();
export let packageBase = plugins.path.join(__dirname, "../");
export let assets = plugins.path.join(packageBase, "assets/");
2016-07-19 00:03:54 +00:00
plugins.smartfile.fs.ensureDirSync(assets);
export let buildContextDir = plugins.path.join(assets,"buildContextDir");
plugins.smartfile.fs.ensureDirSync(buildContextDir);
// files
export let dockerfile = plugins.path.join(assets, "Dockerfile");