wiki:PoC

Version 3 (modified by /O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Sebastien Binet, 11 years ago) (diff)

--

hwaf-hscript

Installation

$ git clone -b dev/hscript git://github.com/mana-fwk/waf src-waf
$ cd src-waf/build_system_kit/hscript
$ ./create_it.sh
$ ./h-waf
Setting top to                           : /home/binet/tmp/src-waf/build_system_kit/hscript 
Setting out to                           : /home/binet/tmp/src-waf/build_system_kit/hscript/build 
Checking for 'gcc' (c compiler)          : /usr/bin/gcc 
Waf: Entering directory `/home/binet/tmp/src-waf/build_system_kit/hscript/build'
[1/2] c: main.c -> build/main.c.1.o
[2/2] cprogram: build/main.c.1.o -> build/my-app
Waf: Leaving directory `/home/binet/tmp/src-waf/build_system_kit/hscript/build'

$ ./build/my-app
::: hello world

Also, have a look at the git repo ywaf-tests which tests all of this:

https://github.com/mana-fwk/ywaf-tests

it sports the beginning of the yaml grammar...