waifu/README.md

29 lines
924 B
Markdown
Raw Normal View History

2019-05-28 03:24:35 +02:00
# Waifu Build System
2019-06-07 01:44:28 +02:00
This is a Waf build system with some experimental modules developed for FWGS projects.
2019-05-28 03:24:35 +02:00
This repo is focused on developing our own modules, testing them, syncing with upstream and maybe sending back patches to original Waf in future.
2019-06-01 19:56:52 +02:00
## Build
We add some additional tools from original Waf extras and prelude to load waifulib is added.
2019-06-07 01:44:28 +02:00
To build use `build-waf.sh` shell script
2019-06-01 19:56:52 +02:00
## Running tests
```
2019-06-07 01:44:28 +02:00
$ sh run-tests.sh
2019-06-01 19:56:52 +02:00
```
If it succeded, then tests are not failed.
## Using in your project
2019-06-07 01:44:28 +02:00
There is two prebuilt waf binaries, to those who don't want build by themselves.
1) `waf-ext` as a prebuilt waf binary with some of our modules
2) `waf-noext` as a prebuilt vanilla waf binary, only with line of code, to preload waifulib
Then you need to create `scripts/waifulib` folder where you will place `waf` binary.
Depending on your needs, copy modules from our `scripts/waifulib` folder to yours.