Skip to main content

Hook system for the Crow build system

Project description

Crow Hooks

Python hook system for the Crow build system.

Installation

pip install crow-hooks

Usage

from crow_hooks import ctx

def pre_build():
    print(f"Building project: {ctx.project_root}")
    print(f"Sources: {ctx.sources}")
    
    # Run custom commands
    ctx.run(["echo", "Pre-build hook executed"])
    
    # Compile targets
    ctx.compile_target("my_tool", ["tools/my_tool.cpp"])

License

MIT

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

crow_hooks-0.1.0.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

crow_hooks-0.1.0-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

Details for the file crow_hooks-0.1.0.tar.gz.

File metadata

  • Download URL: crow_hooks-0.1.0.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.0 CPython/3.13.7 Linux/6.11.0-1018-azure

File hashes

Hashes for crow_hooks-0.1.0.tar.gz
Algorithm Hash digest
SHA256 e70d973f7db5a1ff296a305eae6e0c1d592fec520c7209797e2ebaa772666d81
MD5 e086c2cd1d7eb975a6a989e65f7e5f68
BLAKE2b-256 1cd95160061fdfca9fc5b8219d052c0260e485e3d18eac73867d7279c51cd56d

See more details on using hashes here.

File details

Details for the file crow_hooks-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: crow_hooks-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 11.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.0 CPython/3.13.7 Linux/6.11.0-1018-azure

File hashes

Hashes for crow_hooks-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d159f1ba50885d054d5301b1af748ff07bae3fdf63b17f18f5bd83e81ebec57a
MD5 59bf174180247770d169dae451bb1ea9
BLAKE2b-256 fa2326a4cf6643a5c276a77294559f495af695ee4a72b042772715ba7655b12e

See more details on using hashes here.

Supported by

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