pitchfork icon indicating copy to clipboard operation
pitchfork copied to clipboard

Clarification about placing source-code files in source root directory

Open michaelfranzl opened this issue 4 years ago • 3 comments

The spec reads:

https://github.com/vector-of-bool/pitchfork/blob/1f1d16549408dc29dae03fc1a479c93556239112/data/spec.bs#L609

Doesn't the existence of https://github.com/vector-of-bool/pitchfork/blob/1f1d16549408dc29dae03fc1a479c93556239112/src/pf.cpp go against this rule?

michaelfranzl avatar Jan 02 '21 16:01 michaelfranzl

Actually: Yes, it does. This file should be moved down a directory, it would seem.

vector-of-bool avatar Jan 05 '21 22:01 vector-of-bool

I thought that *.main.cpp files made sense at the root of a source directory. pf.cpp would still have to be renamed pf.main.cpp under this model.

Quincunx271 avatar Jan 08 '21 08:01 Quincunx271

Possibly yes. Although the .main.cpp rules haven't yet been written into the main doc.

vector-of-bool avatar Jan 09 '21 00:01 vector-of-bool