andrewdavey/cassette — pull request #91 by maniserowicz (2011-10-29 13:26:30+00:00)
Title: Better handling of subfolders in module.txt

Hi,
I started using Cassette today (great job btw) and it lacked some functionality for my particular script folder structure, which is:

* /scripts
* /lib
* jquery
* jqueryui
* ...
* /app
* /shared
* some-common-functionality.js
* /views
* home.js

I want to use PerSubDirectorySource, but also want to make sure that scripts from /app/shared folder get loaded first.
So I added this functionality to module.txt config file, it now can look like this in my 'app' module:

shared/*
*

I also added a change that allows both slashes and backslashes to be used in module.txt as dir separators.

Cheers,
Maciej Aniserowicz