cdist-backup/doc/dev/logs/2011-05-12
Nico Schottelius 2312095b28 complete answer 2
Signed-off-by: Nico Schottelius <nico@kr.ethz.ch>
2011-05-12 13:49:58 +02:00

27 lines
621 B
Text

Steven, Nico
A type __get_and_build:
requires __directory /var/tmp
wget's source to /var/tmp
builds programm in /var/tmp
Question: How to define that this object depends on
__directory/var/tmp?
Answer for now:
require="__directory/var/tmp" $__self "$@"
-> construct $@ from params in directory
Answer2 for now:
Use a second type:
__get_and_build:
__directory /var/tmp
require="__directory/var/tmp" __build
__build:
gencode-remote:
wget && build
Answert for soon:
Should be doable easier!