Skip to main content

C language dogebuild plugin

Project description

dogebuild-c

Build Status PyPI version Documentation Status

C language plugin for dogebuild

Install dogebuild c plugin

Install dogebuild c plugin via pip:

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. To install tapas use pip:

pip install tapas

And then run tapas and follow instructions:

tapas dogebuild-c <target-dir>

Manually creating project

Create dogefile.py and fill it with following code:

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:

doge build

To build and run project run:

doge run

Next steps

Advanced documentation for dogebuild available in readthedocs.

Advanced documentation for dogebuild c plugin available in readthedocs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dogebuild-c-0.1.1.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file dogebuild-c-0.1.1.tar.gz.

File metadata

  • Download URL: dogebuild-c-0.1.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.1.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.7.1

File hashes

Hashes for dogebuild-c-0.1.1.tar.gz
Algorithm Hash digest
SHA256 407ac9c224405e33700f13005e730fd65f8ef70742d18083af1f9e4a3baa30ab
MD5 10764c10b517cd6e9c6ae56144704560
BLAKE2b-256 f54a0c074c1d289f5b01f2efa07fcd5666a6999304496b39e05bbda5c227bd7f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page