mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-08-15 10:47:21 +00:00
2.1 KiB
2.1 KiB
parent, nav_order
| parent | nav_order |
|---|---|
| Build system | 1 |
Build include files
Main build steps to create the include files are defined in .github/workflows/build-includes.yml:
-
Checkout of the git repository MOOSE.
-
Create output folders.
-
Update the Linux system software.
-
Install needed tools:
- tree - A tool to output a tree view of a folder structure.
- lua5.3 - Package to run Lua scripts. Version 5.3 is needed, because we need liblua5.3-dev for LuaSrcDiet.
- LuaRocks - LuaRocks is the package manager for Lua modules.
- liblua5.3-dev - Header file of Lua needed for LuaSrcDiet to work.
- LuaSrcDiet - To compress the Lua code and create
Moose_.lua. - LuaCheck - This is a static code analyzer and a linter for Lua.
-
Run the build steps:
- Run
./Moose Setup/Moose_Create.luato createMoose.lua. - Run
./Moose Setup/Moose_Create.luato create dynamicMoose.luato load individual Lua class files used by Moose developers. - Run LuaSrcDiet to compress the Lua code and create
Moose_.lua - Run LuaCheck to find errors in the code. Warnings are ignored, because there are a lot of warnings, which cannot be resolved by the Moose team.
- Run
-
Deploy build results:
- Checkout MOOSE_INCLUDE git repository in a subdirectory.
- Use the same branch used to checkout MOOSE git repository.
- Use a
TOKENfor checkout, so apushis possible later on.
- Copy build result to
MOOSE_INCLUDEfolder - Push results to MOOSE_INCLUDE repository
- Checkout MOOSE_INCLUDE git repository in a subdirectory.