Make build tool substitute written in Python.
Project description
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
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
Built Distribution
File details
Details for the file faff-0.2.4.tar.gz
.
File metadata
- Download URL: faff-0.2.4.tar.gz
- Upload date:
- Size: 22.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 474e689c79dc346ee8e93ef83ee913aec91119d84f2a2cba9149a3360c98acec |
|
MD5 | 46b39c2251d95e5e0c6d088374074f68 |
|
BLAKE2b-256 | d7540b1005a8a73d3f38fe1a6cbf299f7062f04dea46e7199e1cec9a9f85e63b |
File details
Details for the file faff-0.2.4-py35-none-any.whl
.
File metadata
- Download URL: faff-0.2.4-py35-none-any.whl
- Upload date:
- Size: 29.0 kB
- Tags: Python 3.5
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc5f76d1d6b2adf645a830c112b2c9d005199cb6e09353c870a9ec8bf84e8e9b |
|
MD5 | dd86058c674d6e219250c803eacd5109 |
|
BLAKE2b-256 | be0ba7bb7b04829b41fdf1d8b7ca5f3e4ba8b802fc9c34becaa998c8f2278941 |