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
Release files for faff 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| faff-0.2.4.tar.gz | 22.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| faff-0.2.4-py35-none-any.whl | Python 3.5 | none | any | Details |
Total release size: 51.6 kB
Release files / faff-0.2.4.tar.gz
| Download URL | faff-0.2.4.tar.gz |
|---|---|
| Size | 22.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
474e689c79dc346ee8e93ef83ee913aec91119d84f2a2cba9149a3360c98acec
|
|
BLAKE2b-256 checksum How to use checksums |
d7540b1005a8a73d3f38fe1a6cbf299f7062f04dea46e7199e1cec9a9f85e63b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / faff-0.2.4-py35-none-any.whl
| Download URL | faff-0.2.4-py35-none-any.whl |
|---|---|
| Size | 29.0 kB |
| Tags | Python 3.5 |
|
SHA-256 checksum How to use checksums |
cc5f76d1d6b2adf645a830c112b2c9d005199cb6e09353c870a9ec8bf84e8e9b
|
|
BLAKE2b-256 checksum How to use checksums |
be0ba7bb7b04829b41fdf1d8b7ca5f3e4ba8b802fc9c34becaa998c8f2278941
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |