#24 Scripts have to be run one by one

已关闭
jimmy7 年之前创建 · 3 条评论
Jimmy 评论于 7 年之前

Would anyone agree that it would be a nice feature to be able to compile LBSD in one execution rather than running all of the scripts.

I'm going to try to write a C++ binary that can monitor and run all the scripts. I hope to have it catch errors and notify the user if any script exits funny or errors.

If you have another idea or want to use bash/another native lang just let me know I'll check it out.

Would anyone agree that it would be a nice feature to be able to compile LBSD in one execution rather than running all of the scripts. I'm going to try to write a C++ binary that can monitor and run all the scripts. I hope to have it catch errors and notify the user if any script exits funny or errors. If you have another idea or want to use bash/another native lang just let me know I'll check it out.
Jaidyn Ann 评论于 7 年之前
所有者

Would anyone agree that it would be a nice feature to be able to compile LBSD in one execution rather than running all of the scripts.

Totally, a make file or basic script that runs them consecutively (using default paths) would be convenient.

I'm going to try to write a C++ binary that can monitor and run all the scripts. I hope to have it catch errors and notify the user if any script exits funny or errors.

That would be useful, but it would probably be better to stick to mostly-POSIX shell. IIRC, I set up a logging system (in each of the functions of libdeblob.sh) that prints successes and failures. If anything, that might need to be expanded and improved.

> Would anyone agree that it would be a nice feature to be able to compile LBSD in one execution rather than running all of the scripts. Totally, a make file or basic script that runs them consecutively (using default paths) would be convenient. > I'm going to try to write a C++ binary that can monitor and run all the scripts. I hope to have it catch errors and notify the user if any script exits funny or errors. That would be useful, but it would probably be better to stick to mostly-POSIX shell. IIRC, I set up a logging system (in each of the functions of libdeblob.sh) that prints successes and failures. If anything, that might need to be expanded and improved.
Jimmy 评论于 7 年之前
发布者

Personally I have a hard time debugging/running bash scripts considering that I would have to run them every time in Git Bash, which isn't even available to me natively, which is why I use things like C# and C++. If I had a POSIX system to work with, obviously I would use POSIX shell.

Personally I have a hard time debugging/running bash scripts considering that I would have to run them every time in Git Bash, which isn't even available to me natively, which is why I use things like C# and C++. If I had a POSIX system to work with, obviously I would use POSIX shell.
Jaidyn Ann 评论于 7 年之前
所有者

@Jimmy: What system do you use? I thought you were on GNU/Linux, at least IIRC o And with this project there isn't really much of debugging the shell scripts, but debugging their effects-- writing a C# or C++ debugger that would be useful (and catch unintended effects) would be a pretty large and unnecessary undertaking.

@Jimmy: What system do you use? I thought you were on GNU/Linux, at least IIRC `o` And with this project there isn't really much of debugging the shell scripts, but debugging *their effects*-- writing a C# or C++ debugger that would be useful (and catch unintended effects) would be a pretty large and unnecessary undertaking.
登录 并参与到对话中。
未选择标签
未选择里程碑
未指派成员
2 名参与者
正在加载...
取消
保存
这个人很懒,什么都没留下。