Difference between revisions of "FreeCAD Build Tool/pl"

From FreeCAD Documentation
Jump to navigation Jump to search
(Updating to match new version of source page)
(Updating to match new version of source page)
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
<languages/>
 +
 +
{{Docnav
 +
|[[Start_up_and_Configuration|Start up and Configuration]]
 +
|[[Module_Creation|Module Creation]]
 +
}}
 +
 +
{{TOCright}}
 +
 +
==Overview==
 
The '''FreeCAD build tool''' or '''fcbt''' is a python script located at
 
The '''FreeCAD build tool''' or '''fcbt''' is a python script located at
<syntaxhighlight>
+
{{Code|code=
trunc/src/Tools/fcbt.py
+
trunc/src/Tools/fcbt.py
</syntaxhighlight>
+
}}
 
It can be used to simplify some frequent tasks in building, distributing and extending FreeCAD.
 
It can be used to simplify some frequent tasks in building, distributing and extending FreeCAD.
  
 
== Usage ==
 
== Usage ==
 
With [[wikipedia:Python (programming language)|Python]] correctly installed, ''fcbt'' can be invoked by the command
 
With [[wikipedia:Python (programming language)|Python]] correctly installed, ''fcbt'' can be invoked by the command
<syntaxhighlight>
+
{{Code|code=
python fbct.py
+
python fbct.py
</syntaxhighlight>
+
}}
 
It displays a menu, where you can select the task you want to use it for:
 
It displays a menu, where you can select the task you want to use it for:
FreeCAD Build Tool
+
{{Code|code=
  Usage:
+
FreeCAD Build Tool
    fcbt <command name> [command parameter]
+
Usage:
  possible commands are:
+
    fcbt <command name> [command parameter]
  - DistSrc        (DS)  Build a source Distr. of the current source tree
+
possible commands are:
  - DistBin        (DB)  Build a binary Distr. of the current source tree
+
  - DistSrc        (DS)  Build a source Distr. of the current source tree
  - DistSetup      (DI)  Build a Setup Distr. of the current source tree
+
  - DistBin        (DB)  Build a binary Distr. of the current source tree
  - DistSetup      (DUI)  Build a User Setup Distr. of the current source tree
+
  - DistSetup      (DI)  Build a Setup Distr. of the current source tree
  - DistAll        (DA)  Run all three above modules
+
  - DistSetup      (DUI)  Build a User Setup Distr. of the current source tree
  - NextBuildNumber (NBN)  Increase the Build Number of this Version
+
  - DistAll        (DA)  Run all three above modules
  - CreateModule    (CM)  Insert a new FreeCAD Module in the module directory
+
  - NextBuildNumber (NBN)  Increase the Build Number of this Version
 +
  - CreateModule    (CM)  Insert a new FreeCAD Module in the module directory
 
   
 
   
  For help on the modules type:
+
For help on the modules type:
    fcbt <command name> ?
+
  fcbt <command name> ?
 +
}}
 
At the input promt enter the abbreviated command you want to call. For example type "CM" for [[Module Creation|creating a module]].
 
At the input promt enter the abbreviated command you want to call. For example type "CM" for [[Module Creation|creating a module]].
  
Line 48: Line 60:
 
The "CM" command [[Module Creation|creates a new application module]].
 
The "CM" command [[Module Creation|creates a new application module]].
  
{{Docnav|Start up and Configuration|Module Creation}}
+
{{Docnav
 
+
|[[Start_up_and_Configuration|Start up and Configuration]]
[[Category:Developer Documentation/pl]]
+
|[[Module_Creation|Module Creation]]
 +
}}
  
 +
{{Userdocnavi{{#translation:}}}}
 +
[[Category:Developer Documentation{{#translation:}}]]
 
{{clear}}
 
{{clear}}
<languages/>
 

Revision as of 14:36, 25 August 2020

Other languages:
Deutsch • ‎English • ‎Türkçe • ‎español • ‎français • ‎italiano • ‎polski • ‎română • ‎svenska • ‎русский

Overview

The FreeCAD build tool or fcbt is a python script located at

trunc/src/Tools/fcbt.py

It can be used to simplify some frequent tasks in building, distributing and extending FreeCAD.

Usage

With Python correctly installed, fcbt can be invoked by the command

python fbct.py

It displays a menu, where you can select the task you want to use it for:

FreeCAD Build Tool
 Usage:
    fcbt <command name> [command parameter]
 possible commands are:
  - DistSrc         (DS)   Build a source Distr. of the current source tree
  - DistBin         (DB)   Build a binary Distr. of the current source tree
  - DistSetup       (DI)   Build a Setup Distr. of the current source tree
  - DistSetup       (DUI)  Build a User Setup Distr. of the current source tree
  - DistAll         (DA)   Run all three above modules
  - NextBuildNumber (NBN)  Increase the Build Number of this Version
  - CreateModule    (CM)   Insert a new FreeCAD Module in the module directory
 
 For help on the modules type:
   fcbt <command name> ?

At the input promt enter the abbreviated command you want to call. For example type "CM" for creating a module.

DistSrc

The command "DS" creates a source distribution of the current source tree.

DistBin

The command "DB" creates a binary distribution of the current source tree.

DistSetup

The command "DI" creates a setup distribution of the current source tree.

DistSetup

The command "DUI" creates a user setup distribution of the current source tree.

DistAll

The command "DA" executes "DS", "DB" and "DI" in sequence.

NextBuildNumber

The "NBN" command increments the build number to create a new release version of FreeCAD.

CreateModule

The "CM" command creates a new application module.