Skip to main content

Make build tool substitute written in Python.

Project description

PyPI version. PyPI status. PyPI licence. Travis CI build. Code Climate GPA. Code Climate coverage.

Faff is a Make build tool substitute written in Python. An input file similar to a Makefile defines rules used to update arbitrary targets that can have file or other rule dependencies.

Installation

Install and/or upgrade using pip.

$ pip install -U faff

Quickstart

Compile and execute a C hello world program. Create a directory populated with files from the gcc_hello_world example. The example assumes that the gcc command is available in the system path and compiles source files for the host platform.

$ mkdir -p gcc_hello_world
$ cd gcc_hello_world
$ # Copy example files.

Run the default rule of the input file. Similarly to Make, running faff will run the all default rule.

$ faff
faff: gcc gcc_hello_world/main.c -o gcc_hello_world/build/main
faff: main
Hello, world!
faff: `all` updated (1/1 0.694s)

Documentation

Project details


Download files

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

Files for faff, version 0.2.4
Filename, size & hash File type Python version Upload date
faff-0.2.4-py35-none-any.whl (29.0 kB) View hashes Wheel py35
faff-0.2.4.tar.gz (22.6 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page