FreeCAD Build Tool/it: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
No edit summary
Line 28: Line 28:
Al prompt inserire il comando abbreviato che si desidera utilizzare. Ad esempio digitare "CM" per [[Module Creation/it|creare un modulo]].
Al prompt inserire il comando abbreviato che si desidera utilizzare. Ad esempio digitare "CM" per [[Module Creation/it|creare un modulo]].


==== DistSrc ====
=== DistSrc ===
The command "DS" '''creates a source distribution''' of the current source tree.
Il comando "DS" [[Create Source Distribution/it|crea una distribuzione di codice sorgente]] dell'albero di codice sorgente attuale.


=== DistBin ===
==== DistBin ====
The command "DB" '''creates a binary distribution''' of the current source tree.
Il comando "DB" '''crea una distribuzione binaria''' dell'albero di codice sorgente attuale.


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


==== DistSetup ====
=== DistSetup ===
The command "DUI" '''creates a user setup distribution''' of the current source tree.
Il comando "DUI" [[Create User Setup Distribution/it|crea una distribuzione di setup dell'utente]] dell'albero di codice sorgente attuale.


==== DistAll ====
==== DistAll ====
Il comando "DA" esegue "DS", "DB" e "DI" in sequenza.
Il comando "DA" esegue "DS", "DB" e "DI" in sequenza.


==== NextBuildNumber ====
=== NextBuildNumber ===
The "NBN" command '''increments the build number''' to create a new release version of FreeCAD.
Il comando "NBN" [[Increment Build Number/it|incrementa il numero della costruzione]] per creare una nuova versione di FreeCAD.


==== CreateModule ====
==== CreateModule ====

Revision as of 17:28, 13 March 2016

Lo Strumento per la costruzione di FreeCAD (FreeCAD build tool o fcbt) è uno script in Python ubicato in

 trunc/src/Tools/fcbt.py

Può essere usato per semplificare alcune frequenti operazioni nella costruzione, distribuzione e estensione di FreeCAD.

Utilizzo

Con Python installato correttamente, fcbt può essere richiamato con il comando

 python fbct.py

che visualizza un menu, in cui è possibile selezionare l'operazione che si desidera utilizzare per:

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> ?

Al prompt inserire il comando abbreviato che si desidera utilizzare. Ad esempio digitare "CM" per creare un modulo.

DistSrc

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

DistBin

Il comando "DB" crea una distribuzione binaria dell'albero di codice sorgente attuale.

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

Il comando "DA" esegue "DS", "DB" e "DI" in sequenza.

NextBuildNumber

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

CreateModule

Il comando "CM" crea un nuovo modulo dell'applicazione.