Check out my first novel, midnight's simulacra!

Source trees

From dankwiki
Revision as of 10:15, 17 May 2010 by Dank (talk | contribs)

Rules for source trees

Rule: make clean in a pristine source tree ought be idempotent

  • Never remove controlled files as part of a make clean

Generated files

Rule: make all in a pristine source tree oughtn't change files in source control

  • Don't keep generated files in source control
    • Use source control systems' "ignore" capabilities
    • It ought be possible to write a make clean which operates entirely based off "ignore" properties