dogebuild-c-0.1.1
توضیحات
C language dogebuild plugin
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | dogebuild-c-0.1.1 |
| نام | dogebuild-c |
| نسخه کتابخانه | 0.1.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Kirill Sulim |
| ایمیل نویسنده | kirillsulim@gmail.com |
| آدرس صفحه اصلی | https://github.com/dogebuild/dogebuild-c |
| آدرس اینترنتی | https://pypi.org/project/dogebuild-c/ |
| مجوز | MIT |
# dogebuild-c
[](https://travis-ci.com/dogebuild/dogebuild-c)
[](https://badge.fury.io/py/dogebuild-c)
[](https://dogebuild-c.readthedocs.io/en/latest/?badge=latest)
C language plugin for dogebuild
## Install dogebuild c plugin
Install dogebuild c plugin via pip:
```shell script
pip install dogebuild-c
```
Dogebuild will be installed as a dependency.
## Creating project with tapas
The easiest way to create project is to use [tapas scaffold tool](https://github.com/tapas-scaffold-tool/tapas).
To install tapas use pip:
```shell script
pip install tapas
```
And then run tapas and follow instructions:
```shell script
tapas dogebuild-c <target-dir>
```
## Manually creating project
Create `dogefile.py` and fill it with following code:
```python
from pathlib import Path
from dogebuild_c.c_plugin import CPlugin, BinaryType
CPlugin(
binary_type=BinaryType.EXECUTABLE,
out_name="executable_name",
src=Path("src").glob('**/*.c'),
headers=Path("src").glob('**/*.h'),
)
```
Create directory `src` and put all your source code files into that.
## Building project
To build project run dogebuild in project directory:
```shell script
doge build
```
To build and run project run:
```shell script
doge run
```
## Next steps
Advanced documentation for dogebuild available in [readthedocs](https://dogebuild.readthedocs.io).
Advanced documentation for dogebuild c plugin available in [readthedocs](https://dogebuild-c.readthedocs.io).
نحوه نصب
نصب پکیج whl dogebuild-c-0.1.1:
pip install dogebuild-c-0.1.1.whl
نصب پکیج tar.gz dogebuild-c-0.1.1:
pip install dogebuild-c-0.1.1.tar.gz