Stream: IG creation
Topic: publication file
John Moehrke (Feb 08 2021 at 15:55):
I have a file that I want to simply include in the publication directory. It is not something that the IG builder will create or validate. I just need it copied from the input to the output. Somewhat like the images, but not images.
Lloyd McKenzie (Feb 08 2021 at 16:30):
Stick it in images
Lloyd McKenzie (Feb 08 2021 at 16:32):
If you can come up with a more intuitive name for the folder, holler...
Jose Costa Teixeira (Feb 08 2021 at 17:22):
I'd think it's best to have a folder called "additional-content" or "raw_files"...
John Moehrke (Feb 08 2021 at 18:28):
I don't mind images... I just was not clear that all files in that folder are copied to output and made. Ill give that a try.
John Moehrke (Feb 08 2021 at 18:37):
I could imagine a parameter in the IG that lists the folders to copy. Thus I can have the folder name of my choosing to do my editing within.. for now I will just do images folder.
Lloyd McKenzie (Feb 08 2021 at 19:40):
Would prefer a standard folder name. (All this stuff is configurable, but it'd be better to minimize variation in IG source to simplify maintenance by people other than the author.)
Neither 'additional-content' nor 'raw-files' really says what it's for. How about 'copy-to-output'? (We can still keep the 'images' folder)
John Moehrke (Feb 08 2021 at 19:45):
Im okay with that too.
John Moehrke (Feb 08 2021 at 19:45):
in my case the folder would be gherkin files. this is why I was figuring a folder name I could assign.
Jose Costa Teixeira (Feb 08 2021 at 22:10):
I was thinking output-files but that would be confusing, right?
Jose Costa Teixeira (Feb 08 2021 at 22:12):
I don't know John's requirements but for gherkin stuff I would (later) wrap those somehow (for example to put it in the testing tab)
Jose Costa Teixeira (Feb 08 2021 at 22:13):
But for now, 'copy-to-output' would work (except for having a verb in the name..)
Jose Costa Teixeira (Feb 08 2021 at 22:13):
It's a relatively common need, I think
John Moehrke (Feb 08 2021 at 23:53):
as to narrative to these feature files, yes I do have human intended narrative that points at them. I confirmed that is easy to include narrative with hyperlinks. I would eventually like a transform that would make a pretty human readable form given the feature file text format. But ultimately the feature file text format is needed in that format.
Jose Costa Teixeira (Feb 09 2021 at 00:03):
I was thinking of something else for gherkin.
But to just have it copied directly to the output, we can simply add a folder as Lloyd indicates.
Last updated: Apr 12 2022 at 19:14 UTC