tconsteval.nim 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. discard """
  2. action: compile
  3. """
  4. import strutils
  5. const
  6. HelpText = """
  7. +-----------------------------------------------------------------+
  8. | Maintenance program for Nim |
  9. | Version $1|
  10. | (c) 2012 Andreas Rumpf |
  11. +-----------------------------------------------------------------+
  12. Compiled at: $2, $3
  13. Usage:
  14. koch [options] command [options for command]
  15. Options:
  16. --force, -f, -B, -b forces rebuild
  17. --help, -h shows this help and quits
  18. Possible Commands:
  19. boot [options] bootstraps with given command line options
  20. clean cleans Nim project; removes generated files
  21. web generates the website
  22. csource [options] builds the C sources for installation
  23. zip builds the installation ZIP package
  24. inno builds the Inno Setup installer
  25. """ % [NimVersion & spaces(44-len(NimVersion)),
  26. CompileDate, CompileTime]
  27. echo HelpText