2019-05-28 03:24:35 +02:00
|
|
|
# Waifu Build System
|
|
|
|
|
2019-10-18 00:26:36 +02:00
|
|
|
[![Build Status](https://api.travis-ci.com/FWGS/waifu.svg?branch=master)](https://travis-ci.com/FWGS/waifu)
|
|
|
|
|
2019-10-18 02:04:30 +02:00
|
|
|
This is a Waf build system with experimental tools developed for FWGS projects.
|
2019-05-28 03:24:35 +02:00
|
|
|
|
2019-10-18 02:04:30 +02:00
|
|
|
This repo is focused on developing our own tools, 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-10-18 02:04:30 +02:00
|
|
|
`build-waf.sh` creates two waf binaries.
|
|
|
|
1) `waf-ext` as a prebuilt waf binary with stable tools.
|
|
|
|
2) `waf-noext` as a prebuilt vanilla waf binary, only with waifulib preloader.
|
2019-06-07 01:44:28 +02:00
|
|
|
|
2019-10-18 02:04:30 +02:00
|
|
|
They published to [GitHub Releases](https://github.com/FWGS/waifu/releases/) as well.
|
|
|
|
|
|
|
|
You may need to create `scripts/waifulib` folder where you will place `waf` binary.
|
2019-06-07 01:44:28 +02:00
|
|
|
Depending on your needs, copy modules from our `scripts/waifulib` folder to yours.
|
2019-10-18 02:04:30 +02:00
|
|
|
|