https://github.com/j-tai/coman
Easily run and test your programming contest solutions
https://github.com/j-tai/coman
contest-management-system contest-programming
Last synced: 9 months ago
JSON representation
Easily run and test your programming contest solutions
- Host: GitHub
- URL: https://github.com/j-tai/coman
- Owner: j-tai
- License: gpl-3.0
- Created: 2019-11-20T05:39:58.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-06-24T03:02:15.000Z (over 2 years ago)
- Last Synced: 2025-03-26T04:33:16.332Z (10 months ago)
- Topics: contest-management-system, contest-programming
- Language: Rust
- Homepage:
- Size: 79.1 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# coman
Contest manager — easily run and test your programming contest solutions.
[**Getting started**](https://github.com/j-tai/coman/wiki/Getting-started)
## How it works
* You put your source code anywhere in the `src` directory, or a subdirectory of `src`.
* You run `coman`. This will automatically find which source file you are working on and will compile and run it.
* You put tests in the `test` directory.
* You run `coman test`. This will run each test and display the results.
Simple, right?
## Features
* Forget about writing Makefiles or regurgitating an obnoxiously long "gcc" command. *coman* takes the hassle away from compiling and running your code manually.
* It can automatically find which solution you are working on, and run that one. (Or you can specify the file on the command line.)
* It can test your solution with test cases that you provide.
* It can quickly open a debugger for you.
* It supports *any* programming language.
## Building and installing
To install this program, [install Rust](https://rustup.rs/) if you haven't already.
You can install the latest version by typing:
```console
$ cargo install coman
```
This will install coman from crates.io.
Now, check out the [**getting started**](https://github.com/j-tai/coman/wiki/Getting-started) tutorial.
### Install the development version
Clone the repository and use cargo to install it:
```console
$ git clone https://github.com/j-tai/coman.git
$ cd coman
$ cargo install --path .
```
Or, if you want to just build the program, you can use
```console
$ cargo build --release
```
for an optimized build (or omit `--release` for a debug build). Then, the binary will be in `target/release/coman` (or `target/debug/coman`).
## License
[GPLv3.](LICENSE)