#24 Scripts have to be run one by one

Stängd
öppnade 7 år sedan av jimmy · 3 kommentarer
Jimmy kommenterad 7 år sedan

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 kommenterad 7 år sedan
Ägare

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 kommenterad 7 år sedan
Skapare

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 kommenterad 7 år sedan
Ägare

@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.
Logga in för att delta i denna konversation.
Ingen Etikett
Ingen Milsten
Ingen förvärvare
2 Deltagare
Laddar...
Avbryt
Spara
Det finns inget innehåll än.