Unpin react-sdk and js-sdk

This commit is contained in:
Richard van der Hoff 2016-08-15 12:11:35 +01:00
parent 0afdf5d8e4
commit 21334cab28
2 changed files with 2 additions and 23 deletions

View file

@ -1,21 +0,0 @@
#!/usr/bin/env node
// copy static files from node_modules to the vector directory
//
var fs = require('fs-extra');
function exists(f) {
try {
fs.statSync(f);
return true;
} catch(e) {
return false;
}
}
const olm = 'node_modules/olm/olm.js';
if (exists(olm)) {
console.log("copy", olm, "-> vector");
fs.copySync(olm, 'vector/olm.js');
}