Opened 20 years ago
Last modified 20 years ago
#12 new enhancement
How to create subdirs at cmt create step? — at Initial Version
Reported by: | arnault | Owned by: | Arnault |
---|---|---|---|
Priority: | normal | Milestone: | v1r20 |
Component: | a. Usage | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | OS: | All | |
If Other, could you precise: | Experiment: | Other | |
If Other, could you precise: | |||
Stack trace: | |||
Steps to reproduce: |
Description
Hi
(I am new to CMT)
I try to customize the default directory (branches) that CMT creates when creating a new package by running "cmt create Foo v1".
By default it creates a src and cmt directory.
1) How could I configure CMT to create others directories, for example, test and doc, each time the cmt create <pack> <version> is use ?
I have tried to add in the requirement file of a package the line:
branches test doc
When I run "cmt config", cmt creates the test and doc directories but what I want him to do is to automatically add these directories AT the package creation.
There is perhaps something to add in the project.cmt file of the enclosing project but I didn't find it in the documentation.
2) I also don't really understand if the branches instruction is required in the requirements file of a package. In other words, Is it correct to create some directories in a package (manually with mkdir) without adding the corresponding branches command in the requirement file ?
Thank you
--
Olivier Roques or.roques@…