Skip to main content

A tiny build automation tool.

Project description

Downloads

Coxbuild is a tiny python-script-based build automation tool, an alternative to make, psake and so on.

Documents

References

Test Coverage Report

Extension Gallery

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://

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.

  1. Write Schema (buildcox.py)
@task
def pre():
    print("pre task")

@depend(pre)
@task
def default():
    pass
  1. 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


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)

Uploaded Source

Built Distribution

coxbuild-0.1.6-py3-none-any.whl (35.7 kB view hashes)

Uploaded Python 3

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