UNPKG

459 BJavaScriptView Raw
1// Generated by CoffeeScript 1.12.7
2(function() {
3 var link, run;
4
5 run = require('./shell').run;
6
7 link = function(from, to) {
8 if (to == null) {
9 to = from;
10 }
11 return run("rsync --delete --delete-excluded --recursive --human-readable --exclude=.git/ --exclude=.idea/ --exclude=node_modules/ --exclude=tmp/ ../" + from + "/ ./node_modules/" + to, {
12 relaxed: true
13 });
14 };
15
16 module.exports = {
17 link: link
18 };
19
20}).call(this);