You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
371 B

const fs = require('fs');
const path = require('path');
const rimraf = require('rimraf');
module.exports = async () => {
const data = path.join(__dirname, './test/data');
const example = path.join(__dirname, '../binder/example.ipynb');
const dest = path.join(data, 'example.ipynb');
rimraf.sync(data);
fs.mkdirSync(data);
fs.copyFileSync(example, dest);
};