1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: yabs
version: 0.2.1
author: Alberto Corona <ac@albertocorona.com>
about: Yet another build system
args:
#- file:
#short: f
#long: file
#help: Use a specified TOML file
#value_name: FILE
#takes_value: true
- sources:
long: sources
help: Print source files found by yabs or listed in 'src'
takes_value: false
subcommands:
- new:
about: Create a new yabs project
args:
- bin:
long: bin
value_name: NAME
takes_value: true
- build:
about: Build a binary or library, builds all binaries and libraries if no options are given
args:
- bin:
long: bin
value_name: BINARY_NAME
takes_value: true
help: Build a binary with name BINARY_NAME
- lib:
long: lib
value_name: LIBRARY_NAME
takes_value: true
help: Build a library with name LIBRARY_NAME
- jobs:
short: j
long: jobs
help: Child processes to spawn
takes_value: true
- clean:
about: Removes all object files, binaries and libraries built by yabs