Skip to content

Instantly share code, notes, and snippets.

@onesmartguy
Created October 7, 2015 12:39
Show Gist options
  • Save onesmartguy/5ef07394961e5a489d6e to your computer and use it in GitHub Desktop.
Save onesmartguy/5ef07394961e5a489d6e to your computer and use it in GitHub Desktop.
// Contents of copyNuGetFiles.js
var path = require('path');
module.exports = function (context) {
var shell = context.requireCordovaModule('shelljs');
var src = path.join(context.opts.projectRoot, 'Scripts');
var dest = path.join(context.opts.projectRoot, 'www/lib')
shell.cp('-fr', src, dest);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment