[index][s]: Test the helper functions (copy and install functionality)

This commit is contained in:
steveoni 2020-11-24 11:47:39 +01:00
parent 77294a3460
commit 048b5355ee

View File

@ -0,0 +1,9 @@
const copy = require("./helpers/copy");
const install = require("./helpers/install");
const path = require('path');
(async ()=>{
const root = [__dirname, "templates"].join(path.sep);
await copy(root,"Datahub")
await install("Datahub", true);
})().catch(e=> console.log(e));