quickproject icon indicating copy to clipboard operation
quickproject copied to clipboard

templates – add default-skeleton keyword

Open dkochmanski opened this issue 9 years ago • 4 comments

I've noticed, that there is no way to get rid of the default skeleton with files README.txt, {name}.asd, {name}.lisp and package.lisp.

This will be useful, because thanks to that user will be able to create his own custom templates from scratch (indirectly fixes #2).

dkochmanski avatar Aug 27 '16 12:08 dkochmanski

(and it extracts default-skeleton implementation from the quickproject.lisp into default-template.lisp)

dkochmanski avatar Aug 27 '16 12:08 dkochmanski

the last commits add possibility to rewrite file names (with the very same rules used in the files)

dkochmanski avatar Aug 27 '16 17:08 dkochmanski

@inaimathi Does your work obsolete this, or is it complementary?

xach avatar Dec 20 '17 12:12 xach

It's a conflicting change. Looks like this is an approach that keeps code-defined generators for the README.txt, {project}.asd and {project}.lisp file. It looks like there are changes that let you override these with a template you can write.

I'm not entirely clear on how this lets you have a file named {project}.asd and {project}.lisp (short of fiddling with your template per generated project), and I'm not sure I like having the default templates defined in code using format (instead of the way users would have to define theirs), but it seems otherwise equivalent.

inaimathi avatar Dec 20 '17 16:12 inaimathi