xref: /freebsd/contrib/ntp/sntp/unity/auto/generate_config.yml (revision bdd1243df58e60e85101c09001d9812a789b6bc4)
1#this is a sample configuration file for generate_module
2#you would use it by calling generate_module with the -ygenerate_config.yml option
3#files like this are useful for customizing generate_module to your environment
4:generate_module:
5  :defaults:
6    #these defaults are used in place of any missing options at the command line
7    :path_src: ../src/
8    :path_inc: ../src/
9    :path_tst: ../test/
10    :update_svn: true
11  :includes:
12    #use [] for no additional includes, otherwise list the includes on separate lines
13    :src:
14      - Defs.h
15      - Board.h
16    :inc: []
17    :tst:
18      - Defs.h
19      - Board.h
20      - Exception.h
21  :boilerplates: 
22    #these are inserted at the top of generated files.
23    #just comment out or remove if not desired.
24    #use %1$s where you would like the file name to appear (path/extension not included)
25    :src: |
26      //-------------------------------------------
27      // %1$s.c
28      //-------------------------------------------
29    :inc: |
30      //-------------------------------------------
31      // %1$s.h
32      //-------------------------------------------
33    :tst: |
34      //-------------------------------------------
35      // Test%1$s.c : Units tests for %1$s.c
36      //-------------------------------------------
37