A command-line device for smooth C shows: linux

By  |  0 Comments
Related Products

While coding my institution tasks, I obtained tired of my slow-moving operations in C. I made a decision to create a “tiny” celebration manuscript to automate this operations, and also it finished up accidentaly being a 300 line “job supervisor” … The front-end is generally influenced of the freight device in Rust, so if you have actually currently utilized it you’ll be at house:-RRB-.

What it appears like

Right currently you can:

  • Create a brand-new job with abc brand-new << project_name>>

  • Initialize a job within a directory site with abc init

  • Compile your code with abc develop or abc b

  • Compile and also implement your code with abc run or abc r

  • Run device evaluates with abc examination or abc t

Also you should not require to fiddle way too much with the Makefile!

The highlight: Tests!

After brightening the manuscript for the last couple of days, I made a decision today to include examination assistance (and also I’m fairly happy with it!). Currently if you desire to create an examination in a data all you require to do is to cover an integer feature like so:

 #ifdef TEST
int test_two_plus_two() 

#endif.

and also abc examination will certainly do the remainder!

You can look into the manuscripthere My major objective was to have a light-weight energy that I really did not need to trouble my shows companions, and also besides the examinations, my objective is attained:-RRB-

The manuscript is generally POSIX-compliant besides a reliance on ripgrep for faster parsing of examinations. Oh and also it is just rather evaluated so if you discover any type of insects allow me currently!

/ u/ambrosiph.

happywheels

You must be logged in to post a comment Login