mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 02:55:50 +00:00
Add patches for ripple-lib core
This commit is contained in:
12
test/pretest.js
Normal file
12
test/pretest.js
Normal file
@@ -0,0 +1,12 @@
|
||||
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));
|
||||
});
|
||||
Reference in New Issue
Block a user