FreeCAD Build Tool/ro: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 3: Line 3:


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:
{{Code|code=
<syntaxhighlight>
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 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]].
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]].



Revision as of 19:53, 23 February 2019

Start up and Configuration
Module Creation

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 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 module.

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.

CreateModule

Comanda "CM" creates a new application module.

Start up and Configuration
Module Creation