Skip to content

Commit

Permalink
Urgh, reverting confusing commits. Friday nights eh.
Browse files Browse the repository at this point in the history
  • Loading branch information
bnolan committed Apr 15, 2011
1 parent 5146179 commit fb4ef7c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/project.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -95,22 +95,22 @@ class Project

scripts = _([])

for pathspec in @yaml.common
for pathspec in @yaml.javascripts
for path in Glob(Path.join(@cwd, pathspec))
path = path.replace(@cwd, '').replace(/^[.\/]+/,'/')
scripts.push path

for target in @targets
for pathspec in @yaml[target]
for path in Glob(Path.join(@cwd, pathspec))
path = path.replace(@cwd, '')
scripts.push path
#
# for target in @targets
# for pathspec in @yaml[target]
# for path in Glob(Path.join(@cwd, pathspec))
# path = path.replace(@cwd, '')
# scripts.push path

scripts.unique()

getDependencies: (section) ->
result = _([])

for pathspec in @yaml[section]
for path in Glob(Path.join(@cwd, pathspec))
path = path.replace(@cwd, '').replace(/^[.\/]+/,'/')
Expand Down

0 comments on commit fb4ef7c

Please sign in to comment.