Skip to content

An easy way to test and run compiled code come the command line

Notifications You must be signed in to change notification settings

Quick-scripts/comp-run

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

comp-run

Description

This is a program for quick tests on compiled programs. It compiles a program with options and a compiler name, and can execute the binary. It may also remove the binary after, or print the executable binary to the standard output.

Usage

Usage:

-r, -run
    Executes the compiled binary

-k, -keep
    Keeps the executed file rather than deleting
    Is automatically selected if the '-n' flag is used

-n <filename>: str
    Names the newly compiled binary as <filename>
    Automatically selects the '-k' flag

-p, -pb, -printbin
    Writes binary file contents to STDOUT

-c, -command
    Prints the command used for compilation

--help
    Provides extended info for usage

How to install

git clone https://github.com/FuexFollets/comp-run
cd comp-run
sudo chmod +x ./build.sh
./build.sh

Then copy ./dist/comprun to usr/local/bin with

cp ./dist/comprun /usr/local/bin

About

An easy way to test and run compiled code come the command line

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages