FreeCAD Build Tool/es: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
 
(28 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages/>
The '''FreeCAD build tool''' or '''fcbt''' is a python script located at

<syntaxhighlight>
{{Docnav
trunc/src/Tools/fcbt.py
|[[Testing|Testing]]
</syntaxhighlight>
|[[Continuous_Integration|Continuous Integration]]
It can be used to simplify some frequent tasks in building, distributing and extending FreeCAD.
}}

{{TOCright}}

<div class="mw-translate-fuzzy">
La '''Utilidad de construcción de FreeCAD''' (FreeCAD build tool o '''fcbt''') es un archivo de guión en Python ubicado en
</div>
{{Code|code=
trunc/src/Tools/fcbt.py
}}
Se puede utilizar para simplificar algunas tareas frecuentes de construcción, distribución y extensión de FreeCAD.


== Usage ==
== Utilización ==
With [[wikipedia:Python (programming language)|Python]] correctly installed, ''fcbt'' can be invoked by the command
Con [[wikipedia:Python (programming language)|Python]] correctamente instalado, ''fcbt'' se puede invocar por el comando
{{Code|code=
<syntaxhighlight>
python fbct.py
python fbct.py
}}
</syntaxhighlight>
Muestra un menú, donde puedes seleccionar la tarea para el que lo quieres utilizar:
It displays a menu, where you can select the task you want to use it for:
{{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> ?
}}
At the input promt enter the abbreviated command you want to call. For example type "CM" for [[Module Creation|creating a module]].
<div class="mw-translate-fuzzy">
Introduce el nombre abreviado del comando que quieres utilizar. Por ejemplo escribe "CM" para [[Module Creation/es|crear un módulo]].
</div>


=== DistSrc ===
=== DistSrc ===
El comando "DS" '''crea un distribución de código fuente''' del árbol de código fuente actual.
The command "DS" [[Create Source Distribution|creates a source distribution]] of the current source tree.


=== DistBin ===
=== DistBin ===
El comando "DB" '''crea una distribución binaria''' del árbol de código fuente actual.
The command "DB" [[Create Binary Distibution|creates a binary distribution]] of the current source tree.


=== DistSetup ===
=== DistSetup ===
The command "DI" [[Create Setup Distribution|creates a setup distribution]] of the current source tree.
El comando "DI" '''crea una distribución de setup''' del árbol de código fuente actual.


=== DistSetup ===
=== DistSetup ===
El comando "DUI" '''crea una distribución de setup de usuario''' del árbol de código fuente actual.
The command "DUI" [[Create User Setup Distribution|creates a user setup distribution]] of the current source tree.


=== DistAll ===
=== DistAll ===
The command "DA" executes "DS", "DB" and "DI" in sequence.
El comando "DA" executes "DS", "DB" y "DI" en secuencia.


=== NextBuildNumber ===
=== NextBuildNumber ===
El comando "NBN" '''incrementa el número de la construcción''' para crear una nueva versión de FreeCAD.
The "NBN" command [[Increment Build Number|increments the build number]] to create a new release version of FreeCAD.


<div class="mw-translate-fuzzy">
=== CreateModule ===
=== CreateModule ===
The "CM" command [[Module Creation|creates a new application module]].
El comando "CM" [[Module Creation/es|crea un nuevo módulo de aplicación]].
</div>


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


<div class="mw-translate-fuzzy">
[[Category:Developer Documentation]]
{{Docnav/es|Start up and Configuration/es|Module Creation/es}}
</div>


{{Userdocnavi{{#translation:}}}}
[[Category:Developer Documentation{{#translation:}}]]
{{clear}}
{{clear}}
<languages/>

Latest revision as of 13:09, 13 August 2021

La Utilidad de construcción de FreeCAD (FreeCAD build tool o fcbt) es un archivo de guión en Python ubicado en

trunc/src/Tools/fcbt.py

Se puede utilizar para simplificar algunas tareas frecuentes de construcción, distribución y extensión de FreeCAD.

Utilización

Con Python correctamente instalado, fcbt se puede invocar por el comando

python fbct.py

Muestra un menú, donde puedes seleccionar la tarea para el que lo quieres utilizar:

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

Introduce el nombre abreviado del comando que quieres utilizar. Por ejemplo escribe "CM" para crear un módulo.

DistSrc

El comando "DS" crea un distribución de código fuente del árbol de código fuente actual.

DistBin

El comando "DB" crea una distribución binaria del árbol de código fuente actual.

DistSetup

El comando "DI" crea una distribución de setup del árbol de código fuente actual.

DistSetup

El comando "DUI" crea una distribución de setup de usuario del árbol de código fuente actual.

DistAll

El comando "DA" executes "DS", "DB" y "DI" en secuencia.

NextBuildNumber

El comando "NBN" incrementa el número de la construcción para crear una nueva versión de FreeCAD.

CreateModule

El comando "CM" crea un nuevo módulo de aplicación.


Start up and Configuration/es
Module Creation/es