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