Skip to content

added preserve-extensions functionality #178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

added preserve-extensions functionality #178

wants to merge 1 commit into from

Conversation

tjb1982
Copy link

@tjb1982 tjb1982 commented Jan 17, 2015

This helps in situations where you have two files with the same name, differing only by extension, which happens a lot in C/C++/Objective-C, etc.

e.g. you might have some files like this:

  • bar.c
  • bar.h
  • foo.c
  • foo.h
  • main.c

which groc generates as:

  • bar.html
  • bar.html
  • foo.html
  • foo.html
  • main.html

In order to prevent ambiguous filenames, preserve the extension:

  • bar.c.html
  • bar.h.html
  • foo.c.html
  • foo.h.html
  • main.c.html

@tjb1982 tjb1982 changed the title added preserve-extentions functionality added preserve-extensions functionality Jan 17, 2015
@RussellChamp
Copy link

I'd really like to see this get added as I'm trying to groc some .cpp and .h files that have the same names

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

Successfully merging this pull request may close these issues.

2 participants