UNPKG

recink

Version:

Rethink CI for JavaScript applications

16 lines (12 loc) 392 B
'use strict'; const path = require('path'); const Dumper = require('./helper/dumper'); const Recink = require('../../../src/recink'); module.exports = (args, options, logger) => { const configFile = Recink.CONFIG_FILE_NAME; return (new Dumper( path.join(__dirname, '../../templates', configFile), path.join(args.path, configFile), logger )).dump(options.overwrite); };