mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-17 17:45:52 +00:00
13 lines
409 B
JavaScript
13 lines
409 B
JavaScript
var fs = require('fs');
|
|
var path = require('path');
|
|
var joinPath = path.join.bind(path, __dirname);
|
|
|
|
fs.readdirSync(joinPath('ripple-lib')).forEach(function(fileName) {
|
|
var src_path = joinPath('ripple-lib', fileName);
|
|
var dst_path = joinPath('../node_modules/ripple-lib/dist/npm/core/', fileName);
|
|
|
|
console.log(src_path + ' > ' + dst_path);
|
|
|
|
fs.writeFileSync(dst_path, fs.readFileSync(src_path));
|
|
});
|