Skip to content

added preserve-extensions functionality#178

Open
tjb1982 wants to merge 1 commit intonevir:masterfrom
tjb1982:master
Open

added preserve-extensions functionality#178
tjb1982 wants to merge 1 commit intonevir:masterfrom
tjb1982:master

Conversation

@tjb1982
Copy link
Copy Markdown

@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
Copy Markdown

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