1
0
Fork 0
mirror of https://github.com/ganelson/inform.git synced 2024-07-05 16:44:21 +03:00
inform7/inbuild/inbuild-module/Chapter 3/Inblorb Skill.w

18 lines
619 B
OpenEdge ABL
Raw Normal View History

2020-02-24 01:49:56 +02:00
[InblorbSkill::] Inblorb Skill.
A build step is a task such as running inform7 or inblorb on some file.
@ =
build_skill *package_using_inblorb_skill = NULL;
void InblorbSkill::create(void) {
package_using_inblorb_skill = BuildSteps::new_skill(I"package using inblorb");
METHOD_ADD(package_using_inblorb_skill, BUILD_SKILL_COMMAND_MTID, InblorbSkill::inblorb_via_shell);
}
int InblorbSkill::inblorb_via_shell(build_skill *skill, build_step *S, text_stream *command, build_methodology *meth) {
if (command == NULL) internal_error("not available in-app");
WRITE_TO(command, "echo 'Not done yet'");
return TRUE;
}