customise create.project()

49 views
Skip to first unread message

Ross Ahmed

unread,
Dec 28, 2012, 2:23:14 PM12/28/12
to project...@googlegroups.com
Is it possible to customise what gets loaded when running create.project(). For example, can I stop the files 'README' and 'TODO' being loaded with each new project?

John Myles White

unread,
Dec 28, 2012, 2:28:38 PM12/28/12
to project...@googlegroups.com
You can use the minimal option to create.project() to get rid of most things. To have more flexibility than that, you'll probably need to patch the ProjectTemplate library code.

-- John

Francois Pepin

unread,
Dec 28, 2012, 11:05:59 PM12/28/12
to project...@googlegroups.com
I tend to have a lot of similar small projects, so I have a pre-modified project called "template" that I copy around when I need something new.

It's not elegant but it works.

Francois

John Myles White

unread,
Dec 29, 2012, 4:04:33 PM12/29/12
to project...@googlegroups.com
We should come up with some mechanism for doing that automatically. We could offer an option that specifies where to find a custom template for new projects. It would probably have to be a file path unless people have a cleaner approach.

 -- John
Reply all
Reply to author
Forward
0 new messages