fix all installers & clients #179

Open
opened 2025-10-13 07:36:53 +00:00 by despiegk · 1 comment
despiegk commented 2025-10-13 07:36:53 +00:00 (Migrated from github.com)
#remove generated file
rm ~/code/github/incubaid/herolib/lib/core/playcmds/play_all.v
~/code/github/incubaid/herolib/cli/compile.vsh 
hero generate -s  
~/code/github/incubaid/herolib/cli/compile.vsh

this will remove the generated file play_all

then we compile and generate the plat_all.v again

then we check

trick

can disable a module by putting active:false in the .heroscript in the module, then it will not use it for generation


!!hero_code.generate_client
    name:'deployer'
    classname:'TFGridDeployer'
    singleton:0
    default:1
	hasconfig:1
    reset:0
    active:false
```bash #remove generated file rm ~/code/github/incubaid/herolib/lib/core/playcmds/play_all.v ~/code/github/incubaid/herolib/cli/compile.vsh hero generate -s ~/code/github/incubaid/herolib/cli/compile.vsh ``` this will remove the generated file play_all then we compile and generate the plat_all.v again then we check ## trick can disable a module by putting active:false in the .heroscript in the module, then it will not use it for generation ``` !!hero_code.generate_client name:'deployer' classname:'TFGridDeployer' singleton:0 default:1 hasconfig:1 reset:0 active:false ```
Mahmoud-Emad commented 2025-10-13 19:33:51 +00:00 (Migrated from github.com)
Should be done in https://github.com/Incubaid/herolib/pull/180
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: MahmoudEmad/herolib#179
No description provided.