FreeCAD Build Tool/ru: Difference between revisions

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

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

{{TOCright}}

==Введение==
'''Инструмент сборки FreeCAD''' или '''fcbt''' это python сценарий расположеный в
{{Code|code=
trunc/src/Tools/fcbt.py
}}
Он может быть использован для упрощения некоторых часто встречающихся задач при сборке, распространении и расширении FreeCAD.


== Использование ==
== Usage ==
With [[wikipedia:Python (programming language)|Python]] correctly installed, ''fcbt'' can be invoked by the command
В корректно установленом [[wikipedia:Python (programming language)|Python]] интепретаторе , может быть вызвана команда ''fcbt''
{{Code|code=
<syntaxhighlight>
python fbct.py
python fbct.py
}}
</syntaxhighlight>
Она отобразит меню, в котором вы можете выбрать задачу которую необходимо использовать для:
It displays a menu, where you can select the task you want to use it for:
{{Code|code=
<syntaxhighlight>
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
- DistSrc (DS) Build a source Distr. of the current source tree
- DistBin (DB) Build a binary 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 (DI) Build a Setup Distr. of the current source tree
- DistSetup (DUI) Build a User 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
- 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> ?
}}
</syntaxhighlight>
<div class="mw-translate-fuzzy">
At the input promt enter the abbreviated command you want to call. For example type "CM" for [[Module Creation|creating a module]].
В ответ на запрос, введите абревеатуру той команды которую вы хотите вызвать. Например введите "CM" для [[Module Creation/ru|создания модуля]].
</div>


=== DistSrc ===
=== DistSrc ===
Команда "DS" '''создать пакет исходников''' текущего дерева исходных текстов.
The command "DS" [[Create Source Distribution|creates a source distribution]] of the current source tree.


=== DistBin ===
=== DistBin ===
Команда "DB" '''создать бинарный пакет''' текущего дерева исходных текстов.
The command "DB" [[Create Binary Distibution|creates a binary distribution]] of the current source tree.


=== DistSetup ===
=== DistSetup ===
Команда "DI" '''создать самораспаковывающийся пакет''' текущего дерева исходных текстов.
The command "DI" [[Create Setup Distribution|creates a setup distribution]] of the current source tree.


=== DistSetup ===
=== DistSetup ===
Команда "DUI" '''создает пакет с пользовательскими настроками''' текущего дерева исходных текстов.
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.
Команда "DA" выполняет последовательно "DS", "DB" и "DI" .


=== NextBuildNumber ===
=== NextBuildNumber ===
"NBN" команда '''увеличивает номер сборки''' создает новую версию 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 ===
=== Создать Модуль ===
The "CM" command [[Module Creation|creates a new application module]].
"CM" команда [[Module Creation/ru|создает модуль приложение]].
</div>


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


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


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

Latest revision as of 13:08, 13 August 2021

Введение

Инструмент сборки FreeCAD или fcbt это python сценарий расположеный в

trunc/src/Tools/fcbt.py

Он может быть использован для упрощения некоторых часто встречающихся задач при сборке, распространении и расширении FreeCAD.

Использование

В корректно установленом Python интепретаторе , может быть вызвана команда fcbt

python fbct.py

Она отобразит меню, в котором вы можете выбрать задачу которую необходимо использовать для:

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

В ответ на запрос, введите абревеатуру той команды которую вы хотите вызвать. Например введите "CM" для создания модуля.

DistSrc

Команда "DS" создать пакет исходников текущего дерева исходных текстов.

DistBin

Команда "DB" создать бинарный пакет текущего дерева исходных текстов.

DistSetup

Команда "DI" создать самораспаковывающийся пакет текущего дерева исходных текстов.

DistSetup

Команда "DUI" создает пакет с пользовательскими настроками текущего дерева исходных текстов.

DistAll

Команда "DA" выполняет последовательно "DS", "DB" и "DI" .

NextBuildNumber

"NBN" команда увеличивает номер сборки создает новую версию FreeCAD.

Создать Модуль

"CM" команда создает модуль приложение.