A tiny build automation tool.
Project description
Coxbuild is a tiny python-script-based build automation tool, an alternative to make, psake and so on.
Supported features:
- Task
- Dependency
- Pre / Post condition
- Lifecycle hooks
- Setup / Teardown
- Before / After
- Event-based build as a long-run service
- Multiple schema sources
- File
file:// - Url
url:// - Source code
src:// - Module
mod:// - Gallery
ext://
- File
Extensions:
- Python
- Shell
- Git
- Node.js
- .NET
- Gradle
Install
pip install coxbuild
Try
# Version
coxbuild --version
# Hello World
cb -u https://raw.githubusercontent.com/StardustDL/coxbuild/master/demo/hello.py
cb -e hello
# Life Cycle
cb -u https://cdn.jsdelivr.net/gh/StardustDL/coxbuild@master/demo/lifecycle.py
# Event-based build
cb -u https://cdn.jsdelivr.net/gh/StardustDL/coxbuild@master/demo/event.py
# Interactive
cb -i src://interative
Getting Started
Coxbuild build itself by itself, see here for details.
- Write Schema (buildcox.py)
@task
def pre():
print("pre task")
@depend(pre)
@task
def default():
pass
- Run
coxbuild
# or a shortcut
cb
Extensions
We provide a few extensions with coxbuild release package, in coxbuild.extensions module. We also provide a gallery of extensions in exts.
Visit here for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coxbuild-0.1.6.tar.gz.
File metadata
- Download URL: coxbuild-0.1.6.tar.gz
- Upload date:
- Size: 26.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cbe24ac3cf62b3d6e556e39f039976ed3a5191b298c222c6a63d9a5983bcdcb4
|
|
| MD5 |
8296baa61020045686abf48daab2479a
|
|
| BLAKE2b-256 |
f4ee8f0a16a1a485f135eaf245299c0b8168b21e037a2e095c440dc2755ee7e1
|
File details
Details for the file coxbuild-0.1.6-py3-none-any.whl.
File metadata
- Download URL: coxbuild-0.1.6-py3-none-any.whl
- Upload date:
- Size: 35.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.0 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
57d69e2c17390bdb13e24864ae13f1ce17b6cc59bb58eebffea0c59944ad6b4b
|
|
| MD5 |
061b7e78a4148d9fe1926c4f0f42d6f4
|
|
| BLAKE2b-256 |
4e61dd44f9bdf44a564677880615b923df8774b7d9484efa2a0c72ec41cc3dad
|