summaryrefslogtreecommitdiffstats
path: root/.graveyard/cobra/README.md
blob: f9bb802624aa9b1c3c0b0f6e86443f82178f601f (plain)
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

# usage
cobra [target...]

# description
cobra tries to satisfies all specified targets and all of it dependencies.

# targets
targets can be a lot of different things, e.g. directories

## dirctory targets
try to do the right thing when the cobra search path contains a directory
that contains an index.{js,sh,py,etc.} file.

## cobra search path
like your sh's PATH

## example: cobra as some kind of make

    $ echo $COBRA_PATH
    .
    $ ls .
    foo/ bar/ baz/
    $ cat foo/cobra.json
    { "deps": "bar", "baz" }
    $ cat bar/cobra.json
    No such file or directory
    $ cat baz/cobra.json
    No such file or directory
    $ cobra foo
    [cobra bar]
    [cobra baz]
    [cobra foo]
    $ exit