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.

Source Distribution

faff-0.2.4.tar.gz (22.6 kB view hashes)

Uploaded Source

Built Distribution

faff-0.2.4-py35-none-any.whl (29.0 kB view hashes)

Uploaded Python 3.5

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