mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
32 lines
1.0 KiB
Nim
32 lines
1.0 KiB
Nim
discard """
|
|
action: compile
|
|
"""
|
|
|
|
import strutils
|
|
|
|
const
|
|
HelpText = """
|
|
+-----------------------------------------------------------------+
|
|
| Maintenance program for Nim |
|
|
| Version $1|
|
|
| (c) 2012 Andreas Rumpf |
|
|
+-----------------------------------------------------------------+
|
|
Compiled at: $2, $3
|
|
|
|
Usage:
|
|
koch [options] command [options for command]
|
|
Options:
|
|
--force, -f, -B, -b forces rebuild
|
|
--help, -h shows this help and quits
|
|
Possible Commands:
|
|
boot [options] bootstraps with given command line options
|
|
clean cleans Nim project; removes generated files
|
|
web generates the website
|
|
csource [options] builds the C sources for installation
|
|
zip builds the installation ZIP package
|
|
inno builds the Inno Setup installer
|
|
""" % [NimVersion & spaces(44-len(NimVersion)),
|
|
CompileDate, CompileTime]
|
|
|
|
echo HelpText
|