3
# (c) 2004 Juergen Riegel
11
fcbt <command name> [command parameter]
13
- DistSrc (DS) Build a source Distr. of the current source tree
14
- DistBin (DB) Build a binary Distr. of the current source tree
15
- DistSetup (DI) Build a Setup Distr. of the current source tree
16
- DistSetup (DUI) Build a User Setup Distr. of the current source tree
17
- DistAll (DA) Run all three above modules
18
- NextBuildNumber (NBN) Increase the Build Number of this Version
19
- CreateModule (CM) Insert a new FreeCAD Module in the module directory
20
- CreatePyModule (CP) Insert a new FreeCAD Python Module in the module directory
22
For help on the modules type:
28
sys.stdout.write(help1)
29
sys.stdout.write("Insert command: ")
31
CmdRaw = sys.stdin.readline()[:-1]
38
if Cmd == "distsrc" or Cmd == "ds":
40
elif Cmd == "distbin" or Cmd == "db":
42
elif Cmd == "distsetup" or Cmd == "di":
44
elif Cmd == "distsetup" or Cmd == "dui":
45
import fcbt.DistUserSetup
46
elif Cmd == "distall" or Cmd == "da":
50
elif Cmd == "nextbuildnumber" or Cmd == "nbn":
51
import fcbt.NextBuildNumber
52
elif Cmd == "createmodule" or Cmd == "cm":
53
import fcbt.CreateModule
54
elif Cmd == "createpymodule" or Cmd == "cp":
55
import fcbt.CreatePyModule
56
elif Cmd == "?" or Cmd == "help" or Cmd == "/h" or Cmd == "/?" or Cmd == "-h" or Cmd == "-help":
57
sys.stdout.write(help1)
59
print(CmdRaw + " is an unknown command!\n")