Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

support for revved files with suffix/postfix naming #113

Merged
merged 1 commit into from
May 22, 2013

Conversation

orand
Copy link

@orand orand commented May 15, 2013

This is the usemin piece to support grunt-rev's change to suffix/postfix naming described in sebdeckers/grunt-rev#2. The corresponding grunt-rev PR can be found at sebdeckers/grunt-rev#8.

The necessary changes were larger than I expected, partially due to a desire to get the tests to pass on Windows as well as Mac. If you'd like to reduce the changes, let me know and I'll take out the Windows-specific changes. If it's preferable to wait until v2.0 is merged into master, I can wait for that and then rebase this PR onto master.

I've signed the CLA.

…(foo.7483.js instead of 7483.foo.js)

switched from mocha to grunt-mocha-cli to enable testing on Windows. also results in less config and prettier colors.  normalized file paths in test code to make tests pass on Windows.

fixed a globbing bug that only occurs on Mac OS when the pattern starts with #.  hooray for the existing test which caught this!
@sleeper
Copy link
Contributor

sleeper commented May 16, 2013

Impressive work, and btw first pull request in v2.0 !
I'm waiting for synchro with @CBas on on sebdeckers/grunt-rev#8 before merging.

Thanks !

sleeper added a commit that referenced this pull request May 22, 2013
support for revved files with suffix/postfix naming
@sleeper sleeper merged commit f3172b0 into yeoman:v2.0 May 22, 2013
@sleeper
Copy link
Contributor

sleeper commented May 22, 2013

Merged !!!
Thanks a lot !!!

Waiting for the change in grunt-rev, I'm going to add support for postfix as well (i.e. will detect either suffix or postfix)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants