Moncader/JSWorkBench — pull request #4 by kuu (2012-10-09 08:29:46+00:00)
Title: [Request for Review (2nd time)] Changes needed to build multiple targets

https://github.com/Moncader/JSWorkBench/issues/3

[Issue]
In build.json file, user can describe dependency using the 'targets' property in 'resources' section.
However, the result file would have redundancy if the targets shared the same resources.

[Cause]
There's no logic to avoid redundancy across targets.

[Fix]
Added a variable to hold all processed resources across building targets.
On each build, the variable is checked for removing redundant resources.