You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
621 B
28 lines
621 B
14 years ago
|
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
|
||
|
|
||
14 years ago
|
Answer2 for now:
|
||
|
Use a second type:
|
||
14 years ago
|
__get_and_build:
|
||
|
__directory /var/tmp
|
||
|
require="__directory/var/tmp" __build
|
||
|
__build:
|
||
|
gencode-remote:
|
||
|
wget && build
|
||
|
|
||
14 years ago
|
|
||
14 years ago
|
Answert for soon:
|
||
|
Should be doable easier!
|
||
|
|