Common mca2 scripts

From Mca2
Jump to: navigation, search

TODO: up to now just a list of used scripts

Contents

create file templates

  • newPart
  [~]$ newPart base_path name

Creates a new part. The .C file is created with the given name in the $MCAHOME/base_path/src subdirectory. A 'p' is automatically prepended. No header file is generated.


  • newGroup
  [~]$ newGroup base_path name

Creates a new group. Parameters are evalulated like in the newPart script. A 'g' is automatically prepended to the given name. Additional to the .C file, a header file is created in $MCAHOME/base_path/include.


  • newModule
  [~]$ newModule base_path name

Creates a new module. A 'm' is automatically prepended to the given name. Both .C and .h files are created.


  • newClass
  [~]$ newClass base_path name

Creates a new class. A 't' is automatically prepended to the given name. Both .C and .h files are created.


  • newStaticClass
  [~]$ newStaticClass base_path name

Creates a new static class. A 's' is automatically prepended to the given name. Both .C and .h files are created.

empty templates for these scripts are in etc/Null...

create a new release

  • make-release
  • test-release

transfer files to a second host

  • synchronize.py
  • sync.py

set environment vairables

  • mcasetenv.bat (Windows only)
  • mcasetenv (bash script)
  • mcasetenv.py (phyton script used by mcasetenv)
Personal tools