File: 2011-05-12

package info (click to toggle)
cdist 7.0.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,992 kB
  • sloc: sh: 16,815; python: 9,199; makefile: 344; awk: 261
file content (27 lines) | stat: -rw-r--r-- 621 bytes parent folder | download | duplicates (6)
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
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!