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
coxbuild-0.1.6.tar.gz
(26.0 kB
view hashes)
Built Distribution
coxbuild-0.1.6-py3-none-any.whl
(35.7 kB
view hashes)