Shadowfiend / sbt-resource-management

Provides tasks to compile coffee script and compass/SASS files, plus tasks to bundle and upload to S3.
http://hacklanta.com/
MIT License
21 stars 7 forks source link

Implement the ability to reference URLs in bundles. #32

Open farmdawgnation opened 9 years ago

farmdawgnation commented 9 years ago

While tossing around ideas about how to improve pulling in external libraries when using sbt-resource-management, we came up with the idea of referencing libraries by URL in the bundle file. Such as:

base
http://code.jquery.com/jquery-2.1.3.min.js
my-thing.js

When copying scripts, sbt-resource-management would fetch jquery-2.1.3.min.js and stick it in the target JS folder which is, in theory, outside of source control. This prevents the need to manually download an external script into source control in your project.

Shadowfiend commented 9 years ago

Thinking the mechanic for this should be: