Metadata-Version: 2.1
Name: runner-v1
Version: 0.1.1
Summary: script runner
License: MIT
Author: kagemeka
Author-email: kagemeka1@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: toml (==0.10.2)
Description-Content-Type: text/markdown

# runner

## usage

### configuratioins

```sh
pip install runner-v1
```

make `runner.toml` in your project directory.

required
profile.name, profile.run, from_ext.ext, from_ext.profile

optional
profile.pre_run, profile.post_run

```toml
[[profile]]
name = 'c++'
pre_run = 'g++ -O2 <file>'
run = './a.out'
post_run = 'rm a.out'

[[profile]]
name = 'python'
run = 'python <file>'

[[from_ext]]
ext = 'cpp'
profile = 'c++'

[[from_ext]]
ext = 'py'
profile = 'python'

```

```sh
run main.cpp
```

