Files
bower/lib/resolve/Manager.js
André Cruz 0682df3801 Merge branch 'rewrite' of github.com:bower/bower into rewrite
Also improve codebase.

Conflicts:
	lib/resolve/resolverFactory.js
	lib/util/copy.js
	test/resolve/resolverFactory.js
2013-05-04 16:54:22 +01:00

25 lines
580 B
JavaScript

var config = require('../../config');
var Manager = function (options) {
options = options || {};
this._offline = !!options.offline;
this._config = options.config || config;
};
// -----------------
Manager.prototype.install = function (endpoints) {
this._packages = {};
// If some endpoints were passed, use those
// Otherwise grab the ones specified in the json
// Check which packages are already installed
// and not install those if the target range is matched
// Query the PackageRepository
// TODO
};
module.exports = Manager;