FreeCAD Build Tool/ro: Difference between revisions

From FreeCAD Documentation
No edit summary
No edit summary
 
(14 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages/>
<languages/>

{{Docnav
|[[Testing|Testing]]
|[[Continuous_Integration|Continuous Integration]]
}}

{{TOCright}}

<div class="mw-translate-fuzzy">
Instrumentul de construcție '''FreeCAD build tool''' sau '''fcbt''' este un script python localizat la:
Instrumentul de construcție '''FreeCAD build tool''' sau '''fcbt''' este un script python localizat la:
</div>
<syntaxhighlight>
{{Code|code=
trunc/src/Tools/fcbt.py
trunc/src/Tools/fcbt.py
</syntaxhighlight>
}}
Acesta poate fi folosit pentru a simplifica unele sarcini frecvente în construirea, distribuirea și extinderea FreeCAD.
Acesta poate fi folosit pentru a simplifica unele sarcini frecvente în construirea, distribuirea și extinderea FreeCAD.


== Utilizare ==
== Utilizare ==
Cu [[wikipedia:Python (programming language)|Python]] corect instalat, ''fcbt'' can poate fi invocat prin comanda
Cu [[wikipedia:Python (programming language)|Python]] corect instalat, ''fcbt'' can poate fi invocat prin comanda
{{Code|code=
<syntaxhighlight>
python fbct.py
python fbct.py
}}
</syntaxhighlight>
Afișează un meniu, unde puteți selecta următoarele:
Afișează un meniu, unde puteți selecta următoarele:
{{Code|code=
FreeCAD Build Tool
FreeCAD Build Tool
Usage:
Usage:
fcbt <command name> [command parameter]
fcbt <command name> [command parameter]
possible commands are:
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
- 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
- DistAll (DA) Run all three above modules
- NextBuildNumber (NBN) Increase the Build Number of this Version
- NextBuildNumber (NBN) Increase the Build Number of this Version
- CreateModule (CM) Insert a new FreeCAD Module in the module directory
- CreateModule (CM) Insert a new FreeCAD Module (Workbench) in the module directory
For help on the modules type:
For help on the modules type:
fcbt <command name> ?
fcbt <command name> ?
}}
La promptul de introducere introduceți comanda abreviată pe care doriți să o apelați. De exemplu, tastați "CM" pentru crearea unui modul [[Module Creation|creating a module]].
<div class="mw-translate-fuzzy">
La promptul de introducere introduceți comanda abreviată pe care doriți să o apelați. De exemplu, tastați "CM" pentru crearea unui modul [[Workbench_creation/ro|creating a workbench]].
</div>


=== DistSrc ===
=== DistSrc ===
Line 41: Line 55:


=== DistAll ===
=== DistAll ===
The command "DA" executes "DS", "DB" and "DI" in sequence.
Comanda "DA" execută secvența "DS", "DB" and "DI" .


=== NextBuildNumber ===
=== NextBuildNumber ===
The "NBN" command '''increments the build number''' to create a new release version of FreeCAD.
Comanda "NBN" '''incrementează numărul de compilări pentru a crea noua veresiiune FreeCAD.


<div class="mw-translate-fuzzy">
=== CreateModule ===
=== CreateModule ===
The "CM" command [[Module Creation|creates a new application module]].
Comanda "CM" [[Workbench_creation/ro|creates a new application module (Workbench)]].
</div>


{{Docnav|Start up and Configuration|Module Creation}}


{{Docnav
[[Category:Developer Documentation/ro]]
|[[Testing|Testing]]
|[[Continuous_Integration|Continuous Integration]]
}}


{{Userdocnavi{{#translation:}}}}
[[Category:Developer Documentation{{#translation:}}]]
{{clear}}
{{clear}}

Latest revision as of 14:36, 30 October 2021

Instrumentul de construcție FreeCAD build tool sau fcbt este un script python localizat la:

trunc/src/Tools/fcbt.py

Acesta poate fi folosit pentru a simplifica unele sarcini frecvente în construirea, distribuirea și extinderea FreeCAD.

Utilizare

Cu Python corect instalat, fcbt can poate fi invocat prin comanda

python fbct.py

Afișează un meniu, unde puteți selecta următoarele:

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 (Workbench) in the module directory
 
 For help on the modules type:
   fcbt <command name> ?

La promptul de introducere introduceți comanda abreviată pe care doriți să o apelați. De exemplu, tastați "CM" pentru crearea unui modul creating a workbench.

DistSrc

Comanda "DS" creează sursa de distribuire a arborelui sursă curent

DistBin

Comanda "DB" creează o distribuție binară a arborelui sursă curent.

DistSetup

Comanda "DI" creează o distribuție de instalare a arborelui sursă curent.

DistSetup

Comanda "DUI" creează o distribuție de configurare utilizator a arborelui sursă curent.

DistAll

Comanda "DA" execută secvența "DS", "DB" and "DI" .

NextBuildNumber

Comanda "NBN" incrementează numărul de compilări pentru a crea noua veresiiune FreeCAD.