diff --git a/lib/index.ts b/lib/index.ts index b66e98a..9d56862 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -1,26 +1,7 @@ #! /usr/bin/env node var nativeApp = require('../native'); -const fs = require('fs/promises') -interface IConfig { - include?: string[], - exclude?: string[] -} -// const INCRE_PATH = "incre.config.json" async function main() : Promise { - // try { - // await fs.stat(INCRE_PATH); - - // } catch { - // console.error(`Unable to find ${INCRE_PATH}`); - // process.exit(1); - // } - // const file = await fs.readFile(INCRE_PATH); - // const json = JSON.parse(file.toString()) as IConfig; - // if(!json.include || json.include.length < 1) { - // console.error("included files not defined") - // process.exit(1); - // } nativeApp.init(); }