summaryrefslogtreecommitdiffstats
path: root/examples/packages/example_1/pkg.toml
blob: 641969bf9caedad79a01ef19c2cc3ac06a7d45f9 (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
35
36
37
38
39
# root package definition

# We only use semver here
version_is_semver = true

# environment which is automatically inherited to all other packages
# but can also be overridden in the other packages
environment.FOO = "bar"
environment.BAZ = "bla"

# no patches by default
patches = []

[dependencies]
system          = []
system_runtime  = []
build           = []
runtime         = []

# Root description of phases
# can be overridden as well
[phases]

unpack.script = '''
    echo UnpackPhase
'''

build.script = '''
    echo BuildPhase
'''

install.script = '''
    echo InstallPhase
'''

package.script = '''
    echo PackagePhase
'''