Skip to content

Commit

Permalink
update keywords, remove lodash dep
Browse files Browse the repository at this point in the history
  • Loading branch information
tylorr committed Nov 16, 2013
1 parent 6a57518 commit ee19fa2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
5 changes: 2 additions & 3 deletions assetman.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ var path = require('path'),
glob = require('glob'),
minimatch = require('minimatch'),
ninjaGen = require('ninja-build-gen'),
_ = require('lodash'),
srcCache = {},
buildCache = {},
checkHelp,
Expand Down Expand Up @@ -202,7 +201,7 @@ var compileEdges = function(edgeBuilders, params, compileBuilder) {
var compilePostBuilders = function(params) {
var postOutputs = [];
params.postBuilders.forEach(function(post) {
var files = _.filter(params.outputs, function(output) {
var files = params.outputs.filter(function(output) {
return minimatch(output, post.builder.pattern);
});

Expand Down Expand Up @@ -244,7 +243,7 @@ var compileSingle = function(ninja, single, files, srcPath) {
// generates an edge for all files
var compileBundle = function(ninja, bundle, files, srcPath) {
if (!bundle.buildRelative) {
files = _.map(files, function(file) {
files = files.map(function(file) {
return path.join(srcPath, file);
});
}
Expand Down
14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,20 @@
},
"scripts": {},
"devDependencies": {},
"keywords": [],
"keywords": [
"ninja",
"build",
"generate",
"configure",
"build.ninja",
"assets",
"glob",
"wildcard"
],
"dependencies": {
"glob": "~3.2.6",
"minimatch": "~0.2.12",
"ninja-build-gen": "~0.1.1",
"lodash": "~2.3.0"
"ninja-build-gen": "~0.1.1"
},
"preferGlobal": "true",
"bin": {
Expand Down

0 comments on commit ee19fa2

Please sign in to comment.